VBA 简报。如何设置环境当前目录?
我也试过这段代码:
Sub test()
Dim sPath As String
sPath = ActiveWorkbook.Path
MsgBox sPath
End Sub
但是是说:Object required
请帮我使它工作...
VBA 简报。如何设置环境当前目录?
我也试过这段代码:
Sub test()
Dim sPath As String
sPath = ActiveWorkbook.Path
MsgBox sPath
End Sub
但是是说:Object required
请帮我使它工作...