AnsweredAssumed Answered

VBA Saveas Dialog with suggested filename & directory

Question asked by Charlie Boushek on Jun 20, 2019
Latest reply on Jun 21, 2019 by Charlie Boushek

Hoping someone can point me in the right direction. 

I would like to create a macro that will suggest a file name and directory location based on custom properties for the file name and current working directory (or code variables) for the directory location. 

I have code that will explicitly save to a given file name and location but I do not want to execute the save in code. This will be meant as a suggested name and location that the user can change if they want. 


Note this will only be used on new parts. 


1) Create new part

2) Fill in custom properties 

3) Click custom macro button

4) Review suggested file name and location and change if desired

5) Click "save"


The part I'm having trouble with is opening the saveas dialog with a suggested name and location pre-populated.


As always, any help is appreciated!