![]() |
#7
|
||||
|
||||
![]() Quote:
Minimising that risk would require you to manually allow access, run the macro, then manually disallow access every time you want to create such a document; you can't automate the allow/disallow process; it has to be done manually. Given those requirements, you may as well just copy the code across manually - which would require less work and no security exposure when you forget to disallow access after using the other approach. Or you could adopt the macro-enabled document approach Charles suggested. Whichever approach you take, if the recipient is on a different system, they will have to allow macros to run. If they're on the same system, you could store the template in a trusted location the documents created from it can always access. That way, you won't have to add the code to every document, send the template or, generally, need users to enable macros.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
macro transfer |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
neco23 | Word | 1 | 08-27-2015 09:53 PM |
![]() |
TechEd | Word | 3 | 06-09-2014 07:22 PM |
![]() |
stevewak | Word | 8 | 03-19-2014 05:12 AM |
Creating document from template but macros are still linked to template | webharvest | Word | 0 | 07-16-2011 09:34 AM |
![]() |
EMH | Excel Programming | 1 | 07-06-2011 09:24 AM |