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 / Numbering / February 2004

Tip: Looking for answers? Try searching our database.

Automatically Update Styles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DebbiePartridge - 22 Feb 2004 15:33 GMT
Hi

I have a template (as opposed to a document) which has th
'Automatically update document styles' box checked.  The problem is
just don't seem to be able to get rid of it.  I open the templat
-Tools, Templates and Addins, un-check the option, click OK - click o
Tools, Templates and Addins again and the darned thing's still there.

Can anyone tell me what I am missing, please?  I'm sure it's somethin
simple and I'm just not thinking straight.

Thanks in advance
Debbi
Shauna Kelly - 23 Feb 2004 07:51 GMT
Hi Debbie

Try this. File > Open. Open your template. Tools > Templates and
Add-ins. Un-check the box. In your document, press space bar and then
backspace. This will "dirty" the template, so Word will think it's worth
saving. Now, File > Save.

OK?

Hope this helps.

Shauna Kelly.  Microsoft MVP.
http://www.shaunakelly.com/word

> Hi
>
[quoted text clipped - 12 lines]
> ------------------------------------------------
> ~~ Message posted from http://www.WordForums.com/
Debbie Partridge - 23 Feb 2004 09:19 GMT
Hi Shauna

Thank you for that suggestion.  Unfortunately it didn't
do the trick.  I have found a solution though:

Open the template

Add the following code:

 Sub Remove_It()
 ActiveDocument.UpdateStylesOnOpen = False
 End Sub

Run the macro

Delete the macro

Save the template

Many thanks for your help.

D

>-----Original Message-----
>Hi Debbie
[quoted text clipped - 29 lines]
>
>.
Stefan Blom - 24 Feb 2004 11:07 GMT
Thank you for the insight.

Earlier, I thought that the "Automatically update document
styles" setting of the Tools>Templates and Add-ins dialog
box could not be saved to a template, and thus could not
be inherited by documents based on a template, unless you
did a File>Save As instead of a File>New for document
creation. You have revealed that it is partially possible,
namely, through the use of VBA.

Stefan Blom

>Hi Shauna
>
[quoted text clipped - 68 lines]
>>
>.
Jean-Guy Marcil - 24 Feb 2004 15:46 GMT
Hi Stefan,

Actually Stefan there is a way to do that without a macro.

The problem is that the "Automatically update document styles" setting  does
not work for templates... How can a template updates its styles from another
template? It can't!

So, create a blank document, check the "Automatically update document
styles" setting (while it is a document, so that setting can be changed as
we want), then do a "Save as..." template. You will find that the
"Automatically update document  styles" setting is now forever checked for
that template. You cannot change that setting anymore, if you uncheck it, it
comes right back. If, OTOH, you had unchecked the "Automatically update
document styles" setting before creating the template, you cannot set it for
that template anymore. This was Debbie's problem. She had created a template
with this option checked when she did the first " Save as...", and then she
was stuck with it.

Once the setting is set prior to creating the template, it sticks and cannot
be changed through the Templates and add-ins... dialog. You need VBA after
that if you want to change it, as Debbie discovered.

Signature

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org


> Thank you for the insight.
>
[quoted text clipped - 80 lines]
> >>
> >.
Stefan Blom - 25 Feb 2004 08:41 GMT
I didn't think about File>Save As (to "Document Template")
to enable the "Automatically update document styles"
setting for templates. Thank you for pointing this out!

Isn't it very annoying that you can set the option from
the user interface but that there is no way to get rid of
it (besides using VBA)? Especially for inexperienced
users, who might be reluctant to use VBA, this fact could
cause big problems.

Stefan Blom

>Hi Stefan,
>
[quoted text clipped - 27 lines]
>
>"Stefan Blom" <anonymous@discussions.microsoft.com> a
écrit dans le message
>de news: 042401c3fac6$670deba0$a401280a@phx.gbl...
>> Thank you for the insight.
[quoted text clipped - 83 lines]
>
>.
Klaus Linke - 28 Feb 2004 13:24 GMT
> I didn't think about File>Save As (to "Document Template")
> to enable the "Automatically update document styles"
[quoted text clipped - 5 lines]
> users, who might be reluctant to use VBA, this fact could
> cause big problems.

Yes, and I've seen this problem a few times over the last years. I have
tried to submit a bug report about two years ago, but it probably vanished
in a black hole. Probably the bug is another one of the species that
magically become "by design" and stay around in each new version.

Greetings,
Klaus
 
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.