#16
|
||||
|
||||
which only goes to show you haven't changed the template path/name. Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#17
|
|||
|
|||
Well I think I am doing it correctly :-/
I have added the macro into the document file name Q0340-Coppice.docx, and run it from that window. It display "Normal" in the popup MSG box. The file was created with a document template which should be \\SERVER\templates$\mytemplate.dotx. This path is no longer available, nor the template (although I have a copy of a slightly amended template which I am trying to attach, with the same filename.dotx. |
#18
|
|||
|
|||
A docx (or dotx) file cannot hold macros. You want to save the macro in a separate template. While you could save it in the normal template, there is no good reason to do so. If you save it in a separate Global Template, one stored in the Startup Folder, you will have access to it from any document.
You can attach a QAT icon or keyboard shortcut to the macro if you want. These should also be stored in the global template. |
#19
|
|||
|
|||
Umm. OK. I have created a template in the startup folder and run the macro from there.
Anything that was on the server is still showing up as "normal", but some older documents in the same folder are showing the path as "c:\templates which is where they used to be before moving to the server. Also, anything saved recently is showing up as "\\NEWSERVER\tempates", so the macro is working. When I run the macro now, it cycles through the files, but doesn't seem to change anything when I check the files. The loop also ends early, near the end with an issue with the datestamp of the file by the looks of it. I also notice some are template.dot, and some .dotx. They are old files that I don't really need, but it is nice to be able to look back and open them. If you fancy a donation by Paypal, would you be interested in doing this for me? |
#20
|
||||
|
||||
Quote:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Template window in Word 2007 | kerrk | Word | 1 | 10-14-2011 02:06 AM |
Missing standard office tabs in ribbon for word 2007 | pugs | Word | 5 | 09-23-2011 12:12 AM |
Need help creating a word 2007 resume template | gsw1 | Word | 0 | 09-27-2010 06:29 PM |
How to share macros in Powerpoint 2007?? | proshop | PowerPoint | 0 | 12-20-2009 07:29 AM |
Editing Default Word 2007 Template | nhrav | Word | 0 | 09-16-2008 05:08 AM |