I want my macro to end after the open file window/dialog box is opened.
This does not work when I play it from the VB for applications but when I start the script form SolidWorks it works.
Not sure what you are trying to do. But to get the File Open dialog to just open a file you could use the run command method. Like this:
Dim swApp As SldWorks.SldWorks
Set swApp = Application.SldWorks
swApp.RunCommand 0, ""
Please explain more if this is not what you are looking for.
Please mark this answer as correct if it helped you.
Retrieving data ...