07EXCEL中运行一个宏的时候出现"运行时错误 424” 要求对象,求助各位怎么解决! 10
命令如下:PrivateSubCommandButton1_Click()DimfilenameAsStringfilename=UserForm3.TextBox1.T...
命令如下:
Private Sub CommandButton1_Click()
Dim filename As String
filename = UserForm3.TextBox1.Text
PreProcess (filename)
GETTG (tempfile)
GETCF (tempfile)
GETCELL (tempfile)
TFsyn (tempfile)
GETTRX (tempfile)
SUBTRX (tempfile)
band_mpwr (tempfile)
GETDIP (tempfile)
Kill tempfile
Kill tempfile2
Unload Me
End Sub
Private Sub CommandButton2_Click()
Unload Me
End Sub
Private Sub CommandButton3_Click()
CommonDialog1.action = 1 !!!!此处出现错误!
TextBox1.Text = CommonDialog1.filename
End Sub 展开
Private Sub CommandButton1_Click()
Dim filename As String
filename = UserForm3.TextBox1.Text
PreProcess (filename)
GETTG (tempfile)
GETCF (tempfile)
GETCELL (tempfile)
TFsyn (tempfile)
GETTRX (tempfile)
SUBTRX (tempfile)
band_mpwr (tempfile)
GETDIP (tempfile)
Kill tempfile
Kill tempfile2
Unload Me
End Sub
Private Sub CommandButton2_Click()
Unload Me
End Sub
Private Sub CommandButton3_Click()
CommonDialog1.action = 1 !!!!此处出现错误!
TextBox1.Text = CommonDialog1.filename
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询