Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / October 2006

Tip: Looking for answers? Try searching our database.

Macro to help with reformatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jacqui - 19 Oct 2006 09:29 GMT
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?
John McGhie [MVP - Word and Word Macintosh] - 20 Oct 2006 12:13 GMT
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


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.