Thread: [Solved] code to run once only
View Single Post
 
Old 05-19-2014, 10:39 PM
gerrymac gerrymac is offline Windows 7 64bit Office 2007
Novice
 
Join Date: May 2014
Posts: 5
gerrymac is on a distinguished road
Wink thanks, but need the vba to be removed

Quote:
Originally Posted by macropod View Post
What is missing from your post is the Sub's name, which is all you might need to change to prevent it from updating the new document. See, for example:
https://www.msofficeforums.com/word/...html#post19265
https://www.msofficeforums.com/word-...-together.html
But what I need is for the code to be removed from the new doc once it was created, I found this code but this is for a macro so not quite what I need, but its along the correct direction

http://support.microsoft.com/kb/172109
Reply With Quote