Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2012, 01:45 AM
macropod's Avatar
macropod macropod is offline Losing VBA codes in .dotm Windows 7 64bit Losing VBA codes in .dotm Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,523
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi tinfanide,



It certainly looks to me like you're adding the code to a document (not a template). How do I know? Simply: the vba project you're adding the code to says 'Project (Doc1)', but when you (re)open the template, then open the vbe, it says 'TemplateProject (Doc1)'!
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 04-10-2012, 01:51 AM
tinfanide tinfanide is offline Losing VBA codes in .dotm Windows 7 64bit Losing VBA codes in .dotm Office 2010 32bit
Expert
Losing VBA codes in .dotm
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Yes, ya've got the point.
But this time I right-click open the template (doc1.dotm) and go to VBE
Yes, it is 'TemplateProject (Doc1)'
But again I add codes to this section and save the .dotm file
Next I right-click it,
The codes disappear again under 'TemplateProject (Doc1)'.
Could ya tell me why?
Reply With Quote
Reply

Tags
dotm



Similar Threads
Thread Thread Starter Forum Replies Last Post
Losing VBA codes in .dotm New template/New normal.dotm kenglade Word 3 12-19-2011 04:00 PM
Losing VBA codes in .dotm How to get to normal.dotm Aiken_Bob Word 4 05-02-2011 02:41 PM
How to use .dotm template extension in MS Word? dude444 Word 0 09-20-2010 09:34 AM
template dotm unable to load in word 2003 dude444 Word 0 09-16-2010 02:13 PM
Losing VBA codes in .dotm Word 2007 crashes due to corrupt normal.dotm stevebond001 Word 1 05-11-2010 10:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:58 PM.


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