Preserving Word options

P

Pablo Cardellino

Hi

When a document is open, some options change according whith the options
that where saved with it. For example, Options > VIew > Fields Codes is an
option I virtually never enable, but some documents, for a reason I ignore,
were saved with this option enabled. The same happens with Options > View >
Pictures: I use this option always enabled, but some documents uncheck it.
I'd like to preserve Word options unless I explicitly change them. Is there
an option for this, or I can do it just through VBA?

Thanks in advance


Pablo Cardellino
Florianópolis, SC
Brazil
 
J

Jay Freedman

Pablo said:
Hi

When a document is open, some options change according whith the
options that where saved with it. For example, Options > VIew >
Fields Codes is an option I virtually never enable, but some
documents, for a reason I ignore, were saved with this option
enabled. The same happens with Options > View > Pictures: I use this
option always enabled, but some documents uncheck it. I'd like to
preserve Word options unless I explicitly change them. Is there an
option for this, or I can do it just through VBA?
Thanks in advance


Pablo Cardellino
Florianópolis, SC
Brazil

Yes, Word does store some options in document files, while others are stored
in templates or in the registry and should not change on a per-document
basis. It also does sometimes apparently "lose track" of certain options,
although this is rarely reproducible from one computer to another.

The sample macros at the end of http://www.gmayor.com/installing_macro.htm
show how to set options in AuotOpen and AutoNew macros so they will always
have the same value. You can add other settings to those in the samples. If
you need help finding the right syntax in VBA, post again and list the
specific settings.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
P

Pablo Cardellino

Hi, Jay,
thanks a lot once again. If I need some support on VBA syntax, i'll mail.
Regards,

Pablo Cardellino
Florianópolis, SC
Brazil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top