View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default toggle field codes

Word, particularly Word 2003, has a bad habit of changing the personalised
settings stored in the data key in the registry. Some have suggested that
this is caused by the interaction of certain add-ins, but I remain
unconvinced. You could reset the key and re-apply your preferences, but the
chances are that it will lose them again, so it is probably simpler just to
apply the settings that change with auto macros.

If you add the line
ActiveWindow.View.ShowFieldCodes = False
to both an autoopen and an autonew macro in normal.dot (normal.dotm for Word
2007) all documents will open with the field code display switched off.

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Ali wrote:
when I open my word files, some strange codes appear in my references
(entered by EndNote), page numbers, some pictures and links. It is
corrected when I use the toggle field codes. how can I prevent it?
Thanks