AnsweredAssumed Answered

How to browse folder with  specified Path(eg.E:\)and user interface like Excel macro

Question asked by Jack Kong on Feb 17, 2020
Latest reply on Feb 18, 2020 by Deepak Gupta

Hello,Everyone,Nice to Meet you here.

I am writing a macro for the special opreation that  it can save  Drawing file(slddrw) too when executing make indenpent command in the assembly.

But there is a problem that how can I Browse Folder(the path to save Part and Drawing) like browse Folder in Excel Macro(Eg. reference Picture1)Picture1 Excel marco to select Folder

This method can set the path when dialog show via ".InitialFileName = "E:\""

I want to set initial Folder when browse dialog opened with  SOLIDWORKS Macro by VBA.How can do this with SOLIDWORKS Marco ? 

THANKS A LOT! 

Outcomes