![]() |
#1
|
|||
|
|||
![]()
I'm working on a document which will need to save 2 versions of itself as a finalized copy and make edits to those documents (including removing the VBA module which is running the 'Finalize' code) while preserving the original document. I have done something similar in PowerPoint, which has a 'Presentation.SaveCopyAs' method, and was hoping to do the same in my Word document. I can only do a 'SaveAs', in which case the current document which is running the code will then be the same as the saved document.
The steps I took in the PowerPoint file were: 1 Verify current document 2 SaveCopy of current document as "FileName_Finalized_1" 3 Open FileName_Finalized_1 4 Remove specific VBA modules, and do any other finalizing steps 5 Close FileName_Finalized_1 6 Repeat steps 2-5 for second version The only way I can see to do what I want, is to save the current document as the 'Finalized' document, then resave the current document over the original document. This feels kinda hackish, so I thought I'd ask to see if there is a better way to do what I want. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Balliol | Word | 2 | 07-25-2013 06:18 AM |
![]() |
tinfanide | Excel Programming | 2 | 11-02-2011 06:02 AM |
![]() |
crobertson | Outlook | 1 | 05-08-2009 05:47 AM |
![]() |
aultduell | Word | 1 | 11-24-2006 12:50 PM |
Retrict Method Condition | markp | Outlook | 0 | 12-22-2005 05:38 PM |