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 / November 2003

Tip: Looking for answers? Try searching our database.

** Custom Style - can't apply to old docs **

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wai - 15 Nov 2003 01:22 GMT
Product: MS Word 2002
1.
Custom Style & Formatting are applied ONLY to new
documents.
Documents made previously will retain the old styles.

To the old documents, I need to apply my new styles to
them by:
- clicking on "Tools --> Templates and Add-ons" --
> "Automatically update documents styles"

How can I automatically update the styles of all
documents (including the new and the old ones) BY DEFAULT?

Addition:
If you don't understand my above problem, please read the
following illustration.

** Day 1 **
Doc1 --:
A blank doc1 created
Create:
- Style A [old] = red, bold
- Style B = blue, bold
Save doc1
Close doc1
Save changes to normal.dot

** Day 2 **
Doc2 --:
A blank doc2 created
Modify:
- Style A [new] = red, italic
Save doc2
Close doc2
Save changes to normal.dot

** Day 3 **
Doc3 --:
A blank doc3 created
Save doc2
Close doc2

Problem:
Each doc contains non-standardized style formatting.

Doc1:
(As it was created ago, it kept old style formatting)
- Style A [old] = red, bold
- Style B = blue, bold

Doc2:
- Style A [new] = red, italic
- Style B = blue, bold

Doc3:
(New subsequent doc created followed the new style
formatting)
- Style A [new] = red, italic
- Style B = blue, bold

How could I solve these kinds of problems?
Cindy M  -WordMVP- - 17 Nov 2003 15:55 GMT
Hi Wai,

There is no facility provided in Word for this. Possibly,
you could place a macro named AutoOpen in the template that
checks whether this option is activated for the document
being opened. If not, it's activated by the macro.

> Custom Style & Formatting are applied ONLY to new
> documents.
[quoted text clipped - 7 lines]
> How can I automatically update the styles of all
> documents (including the new and the old ones) BY DEFAULT?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)
Wai - 17 Nov 2003 23:09 GMT
Thanks for your reply.
So how can I make a macro which:
- check whether the style is update
- If not, ask for confirmation for updating the styles OR
just automatically update them

>-----Original Message-----
>Hi Wai,
[quoted text clipped - 27 lines]
>
>.
Cindy M  -WordMVP- - 18 Nov 2003 15:30 GMT
Hi Wai,

> So how can I make a macro which:
> - check whether the style is update
> - If not, ask for confirmation for updating the styles OR
> just automatically update them

Something like this (watch out for line breaks caused by
newsgroup transmission!):

Sub AutoOpen()
 With ActiveDocument
   If Not .UpdateStylesOnOpen Then
     If MsgBox("Do you want to force the styles" & _
     "to update in this document?", vbYesNo) = vbYes Then
         .UpdateStylesOnOpen = True
         .UpdateStyles
     Else
         .UpdateStylesOnOpen = false
     End If
   End If
 End With
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)
 
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.