Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2014, 12:17 AM
TechEd TechEd is offline When creating new template from established template macros getting lost. Windows XP When creating new template from established template macros getting lost. Office 2010 32bit
Novice
When creating new template from established template macros getting lost.
 
Join Date: May 2011
Posts: 16
TechEd is on a distinguished road
Unhappy When creating new template from established template macros getting lost.

I am using Word 2013

I want to create a new template (.dotm) from an established template (also .dotm). The established template includes macros.

1. I open a new version of the established template - it is called Document 1 by default and includes the macros from the template.


2. I save this Document 1 as "Report Template.dotm in the same folder as the established template. (As a matter of interest, this is the default Current Office Templates folder.)
3. I then open a new document (FILE|NEW) based on the new template. The macros are missing.
4. If I then open the actual template (Report Template.dotm) I find that the macros are missing from there as well. The macros are not being copied to the new template when I save it.
What's going on?????
Can anyone shed some light on this - please.
Reply With Quote
  #2  
Old 06-09-2014, 06:08 AM
Charles Kenyon Charles Kenyon is online now When creating new template from established template macros getting lost. Windows 7 64bit When creating new template from established template macros getting lost. Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,082
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

If you have a template named "MyTemplate.dotm" and open it, that is what is shown in the title bar. That is what is shown when you use File > Save As.

If it says "Document 1" you have created a new document which is attached to your template. When you save that as a template, you break the attachment and any macros contained in your original template are no longer attached.

Templates in Microsoft Word

You need to actually Open the template. Right-click on it and select "Open."
Reply With Quote
  #3  
Old 06-09-2014, 04:59 PM
TechEd TechEd is offline When creating new template from established template macros getting lost. Windows XP When creating new template from established template macros getting lost. Office 2010 32bit
Novice
When creating new template from established template macros getting lost.
 
Join Date: May 2011
Posts: 16
TechEd is on a distinguished road
Default

Brilliant, thank you Charles!
The solution is so obvious when someone explains it - so elusive when you're close to a deadline.
Thanks again
Reply With Quote
  #4  
Old 06-09-2014, 07:22 PM
Charles Kenyon Charles Kenyon is online now When creating new template from established template macros getting lost. Windows 7 64bit When creating new template from established template macros getting lost. Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,082
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

You are welcome.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Parts entries in .docm template lost kjworduser Word 7 07-31-2013 02:19 PM
Custom Document Property Lost From Template bhaughey Word 8 03-05-2013 02:11 PM
Creating document from template but macros are still linked to template webharvest Word 0 07-16-2011 09:34 AM
When creating new template from established template macros getting lost. Macros not working when template is emailed EMH Excel Programming 1 07-06-2011 09:24 AM
When creating new template from established template macros getting lost. Discover if Macros exist in template or document jimbassett Excel 2 02-08-2010 08:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:34 AM.


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