View Single Post
  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Andrea Andrea is offline
external usenet poster
 
Posts: 16
Default Reading Layout View

I _have_ looked at the link below--many times--as I wrote in a previous
post. Thank you for supplying the link, but it's not that clear to someone
as unfamiliar with macros as I am, and the VBA help wasn't very detailed.
Here are my questions. (1) Can the information on each of the Options tabs
be saved in an auto macro? In other words, should I contain the macro to
just some of the tabs? I notice that in your samples, you're only selecting
some options. (2) In your sample of an AutoNew macro, you "End with" a line
of code, whereas your other auto macros just say "End with," then "End Sub."
I don't know what these terms mean; is the AutoNew macro supposed to end
differently? (3) Could you explain your sample AutoExec macro? I don't
understand what it's supposed to do, specifically "forces off the display of
formatting commands." Displayed where? I understand that the AutoExec macro
is used when Word is started or when a global template is loaded, but I
don't understand why the contents of this macro aren't exactly the same as
the AutoOpen or AutoNew. Because I wasn't very grounded in macro
terminology, I recorded a macro (not an auto macro) as I opened each of the
Options tabs. Then I copied all of it to another AutoOpen and an AutoNew
macro. (I did this because I couldn't figure out if there was a way to
directly record an auto macro.) I don't know if this is adequate or
converely, too much copying. I still haven't created an AutoExec maco, but I
will once I understand what I'm doing. Thanks for your help.

Graham Mayor wrote:
See http://www.gmayor.com/installing_macro.htm


Andrea wrote:
I was hoping that this was fixed, but the Options settings, including
disabling Reading Layout View, are not holding. I now have 2 auto open
macros macros installed:
OpenOptions.AllowReadingMode = False and ActiveWindow.View.Type =
wdNormalView. I've read the link that you suggest (many times), but
I'm not familiar enough with macros to know exactly how to go about
creating an autonew or autoexec macro. Do I just name the macro
(E.g., for autonew) and then start recording as I would for a
non-auto macro?
Graham Mayor wrote:
It is a fact of life that some users find some settings of the
Options volatile, exacerbated by the addition of poorly written
add-ins that write to the registry. The only sure solution is to
force the settings using auto macros. You may need a combination of
autoopen
autonew
and
autoexec
macros to fix all the likely issues.

Start the macro recorder and set all the options you require. As you
move to each new tab from options, all the settings on that tab will
be recorded. Extract the entries you want and add them to the macros.

Word's vba help explains the use of the different types of auto
macros http://www.gmayor.com/installing_macro.htm also has some
sample code. Andrea wrote:
A Google search indicated old posts in this newsgroup on permanently
disabling the Reading Layout option in Word 2003, but I'm unable to
bring them up through my newsreader, so I'm creating a different
thread. I've gone through the generally suggested solutions:
unchecking the Allow box in the General/Options tab, renaming
normal.dot and forcing a new one to be created, creating an AutoOpen
macro in Normal.dot (Options.AllowReadingMode = False). However, the
checkbox kept returning--and also some of the other Options settings
didn't stay saved (e.g., Automatically Create Drawing Canvas,
Recently Used File List) and Save options (number minutes, etc.).
Finally, I deleted the
Word Data Settings registry key, but nothing seems to keep my
Options settings stable. Does anyone have any suggestions? I'm
using Windows XP Pro SP2. Windows and Office 2003 are completely
updated.