ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
OFOmar Freites15/10/2013

Hi there,

I Have was building a macro wich be able to perform a lot of operations over a existing files. I used the "getopenfilename" method and I can choose the specific file without problems (using the dialog box, saving the corresponding path within the variable and finally using the opendoc6 method)

However, once the changes are done i need save the file in a specific folder. But I Can´t find some way to use a dialog box to choose the required path and save the file (with other name as well).

I believe that Visual basic for applications have the method " getsaveasfilename" and allows make this what i need (But only works with spreadsheets).

Some suggestions please??

Pd: I can use a form and have a dialog box control where i can save the required path or type the file through a inputbox. But first, I would like to know if is possible by other way.

Thanks

Omar