Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2013, 05:57 AM
Cosmo Cosmo is offline Why no 'SaveCopyAs' method? Windows Vista Why no 'SaveCopyAs' method? Office 2007
Competent Performer
Why no 'SaveCopyAs' method?
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by fumei View Post
The main problem issue is the fact you need to have DIFFERENT VBA modules in three different files. I am not sure why that is important, but if it really is, perhaps do this.

1 Verify current document
4 Save current document as original filename
2 Run VBA to remove modules & Saveas "FileName_Finalized_1"
3 Run VBA to remove modules & Saveas "FileName_Finalized_2"

This assumes the removal process is accumulative.
Thanks for the response. Unfortunately, I cannot create document 2 from document 1 (or vice versa; they both require different changes to the content, and need to start from the original master). Currently, the changes to the VBA modules are the same for both, alhough I may also need to save each the documents specifically for version 2003- and 2010+ (doubling the # of documents I would need to create), which would require removing 2010 specific code modules.


Quote:
Originally Posted by fumei View Post
If not then you may need to close and reopen original file. And of course you will need to come up with the VBA to edit the code modules.
This sounds like what I described in my last post (saving the 2 documents, then immediately resaving as the original master document), and I did a quick test which indicates that it should do what I want.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why no 'SaveCopyAs' method? Creating a sorting method. Balliol Word 2 07-25-2013 06:18 AM
Why no 'SaveCopyAs' method? SaveCopyAs tinfanide Excel Programming 2 11-02-2011 06:02 AM
Why no 'SaveCopyAs' method? Shared Contacts & Calendars. Best method crobertson Outlook 1 05-08-2009 05:47 AM
Why no 'SaveCopyAs' method? Method to update saves to all copies aultduell Word 1 11-24-2006 12:50 PM
Retrict Method Condition markp Outlook 0 12-22-2005 05:38 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft