I am reformatting a lot of documents from our old style to new. I am
repeatedly opening the organiser, copying the styles over from our
global template into the existing template, then searching and
replacing for normal and replacing it with my new body text style. I
tried to record a macro for this but can only manage to get it to work
for the existing template name. Any tips on how to amend this macro and
replace the existing template with Active Document?
Hi Jacqui:
First, change your approach:
1) Attach the global template to each document with Automatically Update
Styles on Open switched ON,
2) Re-attach the template and this time switch Automatically update styles
OFF
3) The run your search replace.
Record that much, then edit the macro and replace the document name with
"ActiveDocument.FullName " (no quotes).
If you run into trouble, post the code (as text) and we'll fix it for you.
Cheers
On 19/10/06 6:29 PM, in article
1161246579.126052.222810@m73g2000cwd.googlegroups.com, "Jacqui"
<jacqueline.fulton@semplefraser.co.uk> wrote:
> I am reformatting a lot of documents from our old style to new. I am
> repeatedly opening the organiser, copying the styles over from our
[quoted text clipped - 3 lines]
> for the existing template name. Any tips on how to amend this macro and
> replace the existing template with Active Document?

Signature
Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.
John McGhie <john@mcghie.name>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410