Find option in REG KEY

P

papou

Hil all
Word 2003 SP1
Win XP Pro SP1
I am trying to find out which key in the registry should be amended to set
this option in Word:
Options.ConfirmConversions = False
The aim is to modify this key via a script routine through some of our
machines.
Can somebody help?
TIA
Cordially
Pascal
 
G

Graham Mayor

This is stored in the user's (binary) setttings sub key of the Word data key
(HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data) - for Word
2003
along with many other personal settings. You will need to address it with
vba using the line of code you have listed.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

papou

Thanks Graham!
Could there be a way to identify this particular setting so that I could
user a REG file?

Cordially
Pascal
 
J

Jay Freedman

Hi Pascal,

No, a REG file will not do. Graham's point is that there is only one binary
(bit-mapped) value in the registry that contains a great many user
customization settings. The structure of that value is not publicly
documented. I don't know of any way to change only one setting within that
value by any means external to Word.

If you overwrite the value for all users with one value from a REG file, you
will destroy a great many other customizations that users may have spent a
lot of time setting up.

What Graham suggests, and I concur, is that you should use a VBA macro to
set the option, and that will alter the registry value without disturbing
other customizations. That macro could be an AutoOpen macro in a global
add-in/template that you distribute to all users, so it will execute every
time a user opens any document.
 
P

papou

Hi Jay
Yes I have come to the same conclusion so I have ended up with a small
VBscript calling the Word.Application object and setting the option to
False.
Thank you very much indeed for your help.
Cordially
Pascal
 

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