A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to save a Word 2007 (docm) to a macro enabled template (dotm)



 
 
Thread Tools Display Modes
  #1  
Old November 27th, 2008, 05:50 AM posted to microsoft.public.word.docmanagement
Keith
external usenet poster
 
Posts: 531
Default How to save a Word 2007 (docm) to a macro enabled template (dotm)

Hi,
I have a Word 2007 Macro Enabled Document (docm) containing a series of
macros. It works fine and I would like to convert it to a Macro Enabled
Template (dotm). When I attempt to save as a dotm file, the macros are not
saved in the new document.

The original document has macros saved in it, not in the Normal template. I
am running a 32 bit version of Vista Ultimate and Word 2007.

Can anyone help me?
Thanks
Keith
  #2  
Old November 27th, 2008, 07:03 AM posted to microsoft.public.word.docmanagement
Graham Mayor
external usenet poster
 
Posts: 18,297
Default How to save a Word 2007 (docm) to a macro enabled template (dotm)

If the document is opened and the macros it contains enabled then the macros
should stay with the document when it is saved as dotm.
I am unable to reproduce your problem when this process is followed. It
should also work even if the macros in the document are not enabled when you
save it.
What are your macro security settings in Word Options Trust Center Trust
Center Settings Macro Settings? Set to Disable all macros with
notification - which will give you a warning when macros are disabled. Yet
even when disabled the macros are still present in the template - though not
editable.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Keith wrote:
Hi,
I have a Word 2007 Macro Enabled Document (docm) containing a series
of macros. It works fine and I would like to convert it to a Macro
Enabled Template (dotm). When I attempt to save as a dotm file, the
macros are not saved in the new document.

The original document has macros saved in it, not in the Normal
template. I am running a 32 bit version of Vista Ultimate and Word
2007.

Can anyone help me?
Thanks
Keith



  #3  
Old November 27th, 2008, 06:26 PM posted to microsoft.public.word.docmanagement
Keith
external usenet poster
 
Posts: 531
Default How to save a Word 2007 (docm) to a macro enabled template (do

Graham,
Trust Center setings are Enable all Macros and Trust access to VBA. How do
I open a dotm to edit the contents? It opens as a new document, as it
should, I cannot even save it as another dotm without loosing the macros. Do
I have to copy the module in VBA to the new file? There must be a simpler
way.

"Graham Mayor" wrote:

If the document is opened and the macros it contains enabled then the macros
should stay with the document when it is saved as dotm.
I am unable to reproduce your problem when this process is followed. It
should also work even if the macros in the document are not enabled when you
save it.
What are your macro security settings in Word Options Trust Center Trust
Center Settings Macro Settings? Set to Disable all macros with
notification - which will give you a warning when macros are disabled. Yet
even when disabled the macros are still present in the template - though not
editable.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Keith wrote:
Hi,
I have a Word 2007 Macro Enabled Document (docm) containing a series
of macros. It works fine and I would like to convert it to a Macro
Enabled Template (dotm). When I attempt to save as a dotm file, the
macros are not saved in the new document.

The original document has macros saved in it, not in the Normal
template. I am running a 32 bit version of Vista Ultimate and Word
2007.

Can anyone help me?
Thanks
Keith




  #4  
Old November 28th, 2008, 02:47 AM posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default How to save a Word 2007 (docm) to a macro enabled template (do

You use FileOpen

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Keith" wrote in message
...
Graham,
Trust Center setings are Enable all Macros and Trust access to VBA. How
do
I open a dotm to edit the contents? It opens as a new document, as it
should, I cannot even save it as another dotm without loosing the macros.
Do
I have to copy the module in VBA to the new file? There must be a simpler
way.

"Graham Mayor" wrote:

If the document is opened and the macros it contains enabled then the
macros
should stay with the document when it is saved as dotm.
I am unable to reproduce your problem when this process is followed. It
should also work even if the macros in the document are not enabled when
you
save it.
What are your macro security settings in Word Options Trust Center
Trust
Center Settings Macro Settings? Set to Disable all macros with
notification - which will give you a warning when macros are disabled.
Yet
even when disabled the macros are still present in the template - though
not
editable.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Keith wrote:
Hi,
I have a Word 2007 Macro Enabled Document (docm) containing a series
of macros. It works fine and I would like to convert it to a Macro
Enabled Template (dotm). When I attempt to save as a dotm file, the
macros are not saved in the new document.

The original document has macros saved in it, not in the Normal
template. I am running a 32 bit version of Vista Ultimate and Word
2007.

Can anyone help me?
Thanks
Keith






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.