![]() |
|
#1
|
||||
|
||||
![]()
If it's a true template, it would have a dotm extension, not docm. That said, what you're describing is the normal behaviour for a document created from a template. If you want the macros to travel with the document, you'll have to add them to the document - and save it in the docm format. Although this could be done programmatically, it would require giving 'trusted access' to the VBA project environment, which is a significant security risk for you. Otherwise, you could send both the document and the template - which the recipient would need to copy to their own templates folder (not a simple task for most users) so the macros would once again be available to the document.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
||||
|
||||
![]() Quote:
Quote:
Quote:
Quote:
Otherwise, I'd have to distribute a .docm, and then the macros would be available, but in that instance it is likely that someone will eventually overwrite the document (which is why a template is useful in the first place). I guess another option is to use a .docm file and version control it. But getting the users to understand version control... hmmm. Many thanks again for your response. |
![]() |
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 |