Afternoon all,
I am running code that exports various tables and the like to a new word document. I then need to give the user the option to save this word file just like using the 'save-as' function in word. I have this up and running fine however I have two issues. Firstly if a file with the same name already exists, it will be overwritten. Any ideas? And I need to specify the default folder in which the folder dialog should open.
wdApp and wdDoc are both set as objects.
Any help is really appreciated. Thanks guys.
Code as below;
Bookmarks