How to save a copy of Word document with VBA
Posted on 2009-07-13
The steps for the VBA code are currently
1. Get the current word document as object
2. Save the document in a special folder
3. Give this path to a database so that the database can upload the file.
4. Ultimately delete the copy.
I am just using "myDoc.SaveAs CurrentProject.Path & "\Temp\" & str_Save_Name & ".rtf", wdFormatRTF"
At the end of this procedure the currently open document then has this path as its saved path, maybe the user had it saved somewhere else.
What should I do here?
Can I somehow take a copy of an open Word doc and save that without intefereing with the current document?
Or can I reliably just get the current path of the word document (without saving it at all) and use that path to upload?