Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
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. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
This most likely indicates that a poorly written add-in is changing your
settings at startup. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Andrea" wrote in message ... 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. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
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. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org 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. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
I forgot to add that I also deleted two add-ins from the registry and the
Global Templates and Addin window. Suzanne S. Barnhill wrote: This most likely indicates that a poorly written add-in is changing your settings at startup. "Andrea" wrote in message ... 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. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Disabling add-ins in Tools | Templates and Add-ins merely unloads them for
the current session. Unless you actually remove them from the Word/Office Startup folder (or uninstall them if they're COM add-ins), you won't have solved the problem. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Andrea" wrote in message ... I forgot to add that I also deleted two add-ins from the registry and the Global Templates and Addin window. Suzanne S. Barnhill wrote: This most likely indicates that a poorly written add-in is changing your settings at startup. "Andrea" wrote in message ... 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. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Sorry again for not being clear. I had checked the paths under the global
template window and did remove them from the Startup folders. Each was in a different folder. The reason I haven't written back about Graham Mayor's suggestions for macros is that I wasn't sure that I followed the directions carefully for the Return Settings macro I was supposed to run after deleting the registry key, so I created a new macro, deleted the settings part of the key again, and ran the macro. (There are also 2 auto open macros macros installed: OpenOptions.AllowReadingMode = False and ActiveWindow.View.Type = wdNormalView. It's too soon to tell if the settings have been retained because it's usually all right for a while. Suzanne S. Barnhill wrote: Disabling add-ins in Tools | Templates and Add-ins merely unloads them for the current session. Unless you actually remove them from the Word/Office Startup folder (or uninstall them if they're COM add-ins), you won't have solved the problem. "Andrea" wrote in message ... I forgot to add that I also deleted two add-ins from the registry and the Global Templates and Addin window. Suzanne S. Barnhill wrote: This most likely indicates that a poorly written add-in is changing your settings at startup. "Andrea" wrote in message ... 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. |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
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. |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
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 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. |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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. |
#10
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Just to add to what I posted a few minutes ago, even with my just installed
AutoNew and AutoOpen macros, assuming they're correct, I just reopened Word and the options I'd set weren't retained. It usually takes more time before they get undone, but regardless, they weren't retained. Either I didn't create them correctly (copying and pasting everything from a recorded macro of each tab in Options), or I really need the AutoExec macro too, or this problem just can't be fixed. Andrea wrote: 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. |
#11
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
There are three automacros listed on the web page:
AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Andrea wrote: 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. |
#12
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Thank you for your response. I didn't mean that the AutoExec macro ended
with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#13
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Did you save normal.dot after making the changes?
Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#14
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
I did save normal.dot, and I am using Word as Outlook editor, although
Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#15
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
If ~$normal.dot remains when Word and Outlook are both closed - delete it.
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#16
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
It's gone, but when I opened Word again, my settings were off! The worst
part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#17
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
It sounds very much as if some add-in is changing these settings.
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Andrea" wrote in message ... It's gone, but when I opened Word again, my settings were off! The worst part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#18
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
If you have saved normal.dot containing the two mnacros - which must be
named AutoOpen and AutoNew and not something different like AutoOpen2 - then they run whenever Word opens or creates a document and force the changes just as if you had gone into Tools Options and changed them manually. You could send me a copy of your normal.dot template to the link on my web site and I will have a look at what you have done with it - tomorrow! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Andrea wrote: It's gone, but when I opened Word again, my settings were off! The worst part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#19
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
As I searched more, I discovered that I have a normal.dot template in the
usual location, in the path with my name, but there's also another, older one in the Administrator path. I tried opening it, and it brought me to a blank Word document with all the correct settings, but I'd just corrected them under (I assume) the other normal.dot template. Could the existence of 2 of these be causing the problem? If so, which should I delete? I will send you a copy of the normal.dot template with the macros. I renamed one and then the other of the 2 templates and saw that the macros are saving to the newer one in the path with my name. I don't know how to read the contents of a .dot file, but I can see the macros when I look for them in Word, Tools, Macros. Graham Mayor wrote: If you have saved normal.dot containing the two mnacros - which must be named AutoOpen and AutoNew and not something different like AutoOpen2 - then they run whenever Word opens or creates a document and force the changes just as if you had gone into Tools Options and changed them manually. You could send me a copy of your normal.dot template to the link on my web site and I will have a look at what you have done with it - tomorrow! Andrea wrote: It's gone, but when I opened Word again, my settings were off! The worst part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#20
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
That may be so, but I already deleted the add-ins that I saw in the global
templates and addins window from their startup menus. Is there any way for me to tell if there are other add-ins? Suzanne S. Barnhill wrote: It sounds very much as if some add-in is changing these settings. "Andrea" wrote in message ... It's gone, but when I opened Word again, my settings were off! The worst part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#21
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
See http://word.mvps.org/FAQs/Customizat...sInstalled.htm
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Andrea" wrote in message ... That may be so, but I already deleted the add-ins that I saw in the global templates and addins window from their startup menus. Is there any way for me to tell if there are other add-ins? Suzanne S. Barnhill wrote: It sounds very much as if some add-in is changing these settings. "Andrea" wrote in message ... It's gone, but when I opened Word again, my settings were off! The worst part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#22
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Having more than one copy of Normal.dot can certainly cause problems, but
the whole point of having more than one profile is to have different settings in different profiles, so that should not be the issue here unless (a) Tools | Options | File Locations is pointing to the wrong Normal.dot and/or (b) the Normal.dot you modified is the wrong one (hard to see how that would happen unless you changed the settings while you had Normal.dot open for editing, and even at that I'm not sure what the result would be). -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Andrea" wrote in message ... As I searched more, I discovered that I have a normal.dot template in the usual location, in the path with my name, but there's also another, older one in the Administrator path. I tried opening it, and it brought me to a blank Word document with all the correct settings, but I'd just corrected them under (I assume) the other normal.dot template. Could the existence of 2 of these be causing the problem? If so, which should I delete? I will send you a copy of the normal.dot template with the macros. I renamed one and then the other of the 2 templates and saw that the macros are saving to the newer one in the path with my name. I don't know how to read the contents of a .dot file, but I can see the macros when I look for them in Word, Tools, Macros. Graham Mayor wrote: If you have saved normal.dot containing the two mnacros - which must be named AutoOpen and AutoNew and not something different like AutoOpen2 - then they run whenever Word opens or creates a document and force the changes just as if you had gone into Tools Options and changed them manually. You could send me a copy of your normal.dot template to the link on my web site and I will have a look at what you have done with it - tomorrow! Andrea wrote: It's gone, but when I opened Word again, my settings were off! The worst part of this isn't even the annoying Reading Layout, although that is annoying, but that the Always Create Backup Copy gets unchecked and the AutoRecover time gets changed. Graham Mayor wrote: If ~$normal.dot remains when Word and Outlook are both closed - delete it. Andrea wrote: I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#23
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Hi Andrea
I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#24
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Hmmm, you may have something there! The software is Diskcleaner
http://www.diskcleaner.nl and is supposed to clear temporary files, but I just looked at all the plugins. There is one for Office, and part of it includes Data Settings. Rather than turning off the program, I unchecked that box and will see if that does anything. Shauna Kelly wrote: Hi Andrea I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#25
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Hi Andrea
If un-ticking that particular box doesn't work, I suggest you keep un-ticking boxes in that program until you find the one that is causing the problem. And then write a very angry letter to the makers of the software! Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... Hmmm, you may have something there! The software is Diskcleaner http://www.diskcleaner.nl and is supposed to clear temporary files, but I just looked at all the plugins. There is one for Office, and part of it includes Data Settings. Rather than turning off the program, I unchecked that box and will see if that does anything. Shauna Kelly wrote: Hi Andrea I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#26
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Hi Shauna,
The software is open source and free, so one uses it with some risk. I haven't had a problem with it before and don't know if it's the cause of the problem yet. Believe me, I'll be thrilled to find some resolution. I've looked at all of the programs that it addresses because the user picks and chooses and can add additional plugins at will, but I can't see anything else that could interfere with Word. I did pause at Microsoft Works, but I don't use that and don't have it checked off. Most of the plugins are set to delete recent files; I don't know why it was written to "clean" the Office settings. If it turns out to be the cultprit, I'll post a message to the Diskcleaner page--as the web site requests. Shauna Kelly wrote: Hi Andrea If un-ticking that particular box doesn't work, I suggest you keep un-ticking boxes in that program until you find the one that is causing the problem. And then write a very angry letter to the makers of the software! Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... Hmmm, you may have something there! The software is Diskcleaner http://www.diskcleaner.nl and is supposed to clear temporary files, but I just looked at all the plugins. There is one for Office, and part of it includes Data Settings. Rather than turning off the program, I unchecked that box and will see if that does anything. Shauna Kelly wrote: Hi Andrea I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#27
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
I have examined the normal.dot you sent and that works fine - it even
changed my registry so I will have to roll back to yesterday to fix all the preferences it contained I am inclined to agree with Shauna that your disc cleaner is the problem. Treat such software with caution. Those that attack the registry can sometimes be more trouble than help. It is simple enough to clear out temporary files manually. In fact Windows itself provides a tool to do that called Disc Cleanup. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Andrea wrote: Hi Shauna, The software is open source and free, so one uses it with some risk. I haven't had a problem with it before and don't know if it's the cause of the problem yet. Believe me, I'll be thrilled to find some resolution. I've looked at all of the programs that it addresses because the user picks and chooses and can add additional plugins at will, but I can't see anything else that could interfere with Word. I did pause at Microsoft Works, but I don't use that and don't have it checked off. Most of the plugins are set to delete recent files; I don't know why it was written to "clean" the Office settings. If it turns out to be the cultprit, I'll post a message to the Diskcleaner page--as the web site requests. Shauna Kelly wrote: Hi Andrea If un-ticking that particular box doesn't work, I suggest you keep un-ticking boxes in that program until you find the one that is causing the problem. And then write a very angry letter to the makers of the software! Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... Hmmm, you may have something there! The software is Diskcleaner http://www.diskcleaner.nl and is supposed to clear temporary files, but I just looked at all the plugins. There is one for Office, and part of it includes Data Settings. Rather than turning off the program, I unchecked that box and will see if that does anything. Shauna Kelly wrote: Hi Andrea I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#28
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
Thank you. I'll keep an eye on this now that I've unticked the Office part
of the diskcleaner. So far, so good. I like this particular diskcleaner (except for the Office component apparently) more than the Windows tool because it cleans out caches from more programs, e.g., SeaMonkey, Yahoo. Graham Mayor wrote: I have examined the normal.dot you sent and that works fine - it even changed my registry so I will have to roll back to yesterday to fix all the preferences it contained I am inclined to agree with Shauna that your disc cleaner is the problem. Treat such software with caution. Those that attack the registry can sometimes be more trouble than help. It is simple enough to clear out temporary files manually. In fact Windows itself provides a tool to do that called Disc Cleanup. Andrea wrote: Hi Shauna, The software is open source and free, so one uses it with some risk. I haven't had a problem with it before and don't know if it's the cause of the problem yet. Believe me, I'll be thrilled to find some resolution. I've looked at all of the programs that it addresses because the user picks and chooses and can add additional plugins at will, but I can't see anything else that could interfere with Word. I did pause at Microsoft Works, but I don't use that and don't have it checked off. Most of the plugins are set to delete recent files; I don't know why it was written to "clean" the Office settings. If it turns out to be the cultprit, I'll post a message to the Diskcleaner page--as the web site requests. Shauna Kelly wrote: Hi Andrea If un-ticking that particular box doesn't work, I suggest you keep un-ticking boxes in that program until you find the one that is causing the problem. And then write a very angry letter to the makers of the software! Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... Hmmm, you may have something there! The software is Diskcleaner http://www.diskcleaner.nl and is supposed to clear temporary files, but I just looked at all the plugins. There is one for Office, and part of it includes Data Settings. Rather than turning off the program, I unchecked that box and will see if that does anything. Shauna Kelly wrote: Hi Andrea I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#29
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Reading Layout View
It's been a few days and the settings are holding, so I think that the
problem is solved. Thank you all for your help--and especially Shauna, who came up with the solution! -Andrea Andrea wrote: Thank you. I'll keep an eye on this now that I've unticked the Office part of the diskcleaner. So far, so good. I like this particular diskcleaner (except for the Office component apparently) more than the Windows tool because it cleans out caches from more programs, e.g., SeaMonkey, Yahoo. Graham Mayor wrote: I have examined the normal.dot you sent and that works fine - it even changed my registry so I will have to roll back to yesterday to fix all the preferences it contained I am inclined to agree with Shauna that your disc cleaner is the problem. Treat such software with caution. Those that attack the registry can sometimes be more trouble than help. It is simple enough to clear out temporary files manually. In fact Windows itself provides a tool to do that called Disc Cleanup. Andrea wrote: Hi Shauna, The software is open source and free, so one uses it with some risk. I haven't had a problem with it before and don't know if it's the cause of the problem yet. Believe me, I'll be thrilled to find some resolution. I've looked at all of the programs that it addresses because the user picks and chooses and can add additional plugins at will, but I can't see anything else that could interfere with Word. I did pause at Microsoft Works, but I don't use that and don't have it checked off. Most of the plugins are set to delete recent files; I don't know why it was written to "clean" the Office settings. If it turns out to be the cultprit, I'll post a message to the Diskcleaner page--as the web site requests. Shauna Kelly wrote: Hi Andrea If un-ticking that particular box doesn't work, I suggest you keep un-ticking boxes in that program until you find the one that is causing the problem. And then write a very angry letter to the makers of the software! Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... Hmmm, you may have something there! The software is Diskcleaner http://www.diskcleaner.nl and is supposed to clear temporary files, but I just looked at all the plugins. There is one for Office, and part of it includes Data Settings. Rather than turning off the program, I unchecked that box and will see if that does anything. Shauna Kelly wrote: Hi Andrea I haven't been following all the details of this thread, but as I understand it, the options at Tools Options are not holding. You wrote this: I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. This disk cleaning program is probably a registry cleaner. And it sounds to me like it's cleaning out the Word Data key, where the setting setting is saved. Try turning it off for a few days and see what happens. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Andrea" wrote in message ... I did save normal.dot, and I am using Word as Outlook editor, although Outlook was closed when I made the changes and it was closed when I opened Word and saw that the options hadn't held. I did have an original AutoOpen macro with only the reading layout line and another one with all the options (called AutoOpen2). It sounds as if I should have deleted one? I've now done that. I looked at the newest link you sent. I use a disk cleaning program obsessively, so there weren't any .tmp files anywhere, but there were a couple of other junk files, including a ~$normal.dot template from 2005. I've seen it there before and not known whether to delete it. I'll report back whether the settings hold now. Thank you. Graham Mayor wrote: Did you save normal.dot after making the changes? Are you using Word as Outlook editor? Close both Word and Outlook Attend to the measures listed at http://www.gmayor.com/what_to_do_when_word_crashes.htm then reopen Word. I take it that you only have one copy of each macro in normal.dot? Andrea wrote: Thank you for your response. I didn't mean that the AutoExec macro ended with "End with.' What I meant was that in your sample, the line just before "End sub" was "Command Bars etc.," but for the AutoOpen and AutoNew macros, the line just before "End sub" was "End with." I hope that's clearer. Anyway, it's not an issue for me now that I know that the AutoExec macro doesn't apply to options. I've realized that my problem goes beyond the Reading Layout view option, so I included the other options that aren't being saved from the General and Save option tabs. However, the reason that I'm posting this here instead of directly to you at your website as you requested is that I don't have a question anymore about what to put in the macros. The issue is that I've had an AutoOpen macro with Options.AllowReading Mode = False for some time and recently added an AutoNew macro with the same line after reading this thread, but the Allow Starting in Reading Layout box kept getting checked again anyway. Yesterday I created different AutoOpen and AutoNew macros to include the other options that weren't being saved, but after opening and closing Word several times, none of them (including the Reading Layout view) held. Do you or anyone else have a suggestion? Graham Mayor wrote: There are three automacros listed on the web page: AutoNew (which runs when a new document is created from the template) AutoOpen (which runs when an existing document is opened) AutoExec (which runs when Word is started). and an associated macro CodesOff which is run from the AutoExec macro after a short delay. All the macros end with 'End Sub'. None of them ends with 'End With'? You can record all of the Tools Options in a macro if you want, but usually it is only a handful of settings that cause problems. The ones that bother me are included in the sample macros, but you can supplement these and/or replace them as necessary. Recording all the settings will give you the syntax required - however as you have a specific issue let's get back to basics. To stop the reading layout you need the line: Options.AllowReadingMode = False in a macro called AutoOpen ie at its simplest Sub AutoOpen() Options.AllowReadingMode = False End Sub If for some reason ReadingLayout mode activates for new documents, then you also need that line in an AutoNew macro - again at its simplest Sub AutoNew() Options.AllowReadingMode = False End Sub Options are document related so AutoExec which runs before the document is opened, will not be required. If you have created some automacros, open the VBA editor (Alt+F11) and replace them with the two above by copying and pasting from this message. If you have other issues such as those documented on the web page then you can add the relevant lines of code. (The text in green explains what the code does). For example if you were to use the three macros in full, then the line Options.AllowReadingMode = True could be inserted immediately before the EndSub statements in each of AutoNew and AutoOpen. If this is still not clear, contact me via my web site link with more details. Andrea wrote: 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. |
#30
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
Shauna Kelly wrote:
And then write a very angry letter to the makers of the software! I had a similar problem, described below, and posted an angry letter to the CCleaner forum. In the end I am not sure I was justified. The developer's advocate shifted the blame to Microsoft, perhaps not unreasonably. What do you think? My Posting: CCleaner deletes MS Word data key in registry, Bug that resets Word 2003 setting to default Such a problem has been reported with regard to registry cleaners in Microsoft forums . The odd thing here is that using only the temp cleaner and trash emptier alone--even when the temp cleaner says it deleted 0 bytes--resets Word 2003 setting to default. The pattern of affected setting make it clear it is deleting either the data key or the Settings value from the data key. If this serious bug has not been previously reported, it is probably because many users either don't reset Word settings from default or don't recognize the difference after resetting. Latest version of CCleaner Advocate's first response: This has been known for well over 1 1/2 years now, and a forum search would have revealed such information. If you wish to use Word 2003 with your settings intact you'll have to untick the cleaning of Office 2003 in CCleaner Taking your advice (to shift blame too g, I get angry: Amazing. I am expected to do a forum search to discover that a product widely promoted on the net has a bug that hasn't been resolved for over 1 1/2 years. Misleading promotion, if you ask me. Eventually consumers will wise up to the fact that a free product is no excuse for incompetent programming. No product is free; surely the developer obtains benefits from promoting his product, and owes a duty of informed consent to users. Expecting a response in kind, I read this quite reasonable answer: The problem isn't the developer, or the product CCleaner. Any other cleaning app that also offers to clean Office 2003 will probably result into the same problem because Microsoft placed some of the MRU lists within the actual settings such is the case in Word 2003. Hence the reason to only clean the list inside of Word 2003, and not use any other program to do it. To my knowledge that's the only way to clean Word 2003 without losing all settings. The same can also extend to other Office 2003 apps. To safely clean things like Publisher 2003, etc., without enabling the full cleaning of Office 2003 (which I myself will never enable again since I use Office 2003) check out the winapp2.ini add-on, the Publisher 2003 and Script Editor 2003 cleaning routines I submitted and know they're safe and non-destructive to settings. A tip before using any cleaning program on MS Office 2003 is to go into: Start All Programs Microsoft Office Microsoft Office Tools Microsoft Office 2003 Save My Settings Wizard With Microsoft Office 2003 Save My Settings Wizard you can also restore your settings, and it works like a charm between WinXP re-installs too. Here's just a few other threads on it: http://forum.ccleaner.com/index. php?showtopic=4089 http://forum.ccleaner.com/index.php?showtopic=3935 http://forum.ccleaner.com/index.php?showtopic=3073 http://forum. ccleaner.com/index.php?showtopic=2940 http://forum.ccleaner.com/index. php?showtopic=1222 [/End quote] Stephen Diamond |
#32
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
Hi Stephen
To my mind a "cleaner" should remove garbage or dirt, which is to say unwanted things. A program that advertises that it "cleans" should not delete data used by a program or a user. We might disagree over what is wanted data and what is garbage. My view is that users need the settings stored in the Word data key, and no cleaner should remove them without warning. CCleaner has had quite a lot of press in the Word newsgroups. (see http://groups.google.com.au/groups?q....*& start=10). I contacted CCleaner in April this year to warn them that their cleaner was scrubbing a bit too hard, but I did not get an acknowledgement or response. Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word wrote in message ups.com... Shauna Kelly wrote: And then write a very angry letter to the makers of the software! I had a similar problem, described below, and posted an angry letter to the CCleaner forum. In the end I am not sure I was justified. The developer's advocate shifted the blame to Microsoft, perhaps not unreasonably. What do you think? My Posting: CCleaner deletes MS Word data key in registry, Bug that resets Word 2003 setting to default Such a problem has been reported with regard to registry cleaners in Microsoft forums . The odd thing here is that using only the temp cleaner and trash emptier alone--even when the temp cleaner says it deleted 0 bytes--resets Word 2003 setting to default. The pattern of affected setting make it clear it is deleting either the data key or the Settings value from the data key. If this serious bug has not been previously reported, it is probably because many users either don't reset Word settings from default or don't recognize the difference after resetting. Latest version of CCleaner Advocate's first response: This has been known for well over 1 1/2 years now, and a forum search would have revealed such information. If you wish to use Word 2003 with your settings intact you'll have to untick the cleaning of Office 2003 in CCleaner Taking your advice (to shift blame too g, I get angry: Amazing. I am expected to do a forum search to discover that a product widely promoted on the net has a bug that hasn't been resolved for over 1 1/2 years. Misleading promotion, if you ask me. Eventually consumers will wise up to the fact that a free product is no excuse for incompetent programming. No product is free; surely the developer obtains benefits from promoting his product, and owes a duty of informed consent to users. Expecting a response in kind, I read this quite reasonable answer: The problem isn't the developer, or the product CCleaner. Any other cleaning app that also offers to clean Office 2003 will probably result into the same problem because Microsoft placed some of the MRU lists within the actual settings such is the case in Word 2003. Hence the reason to only clean the list inside of Word 2003, and not use any other program to do it. To my knowledge that's the only way to clean Word 2003 without losing all settings. The same can also extend to other Office 2003 apps. To safely clean things like Publisher 2003, etc., without enabling the full cleaning of Office 2003 (which I myself will never enable again since I use Office 2003) check out the winapp2.ini add-on, the Publisher 2003 and Script Editor 2003 cleaning routines I submitted and know they're safe and non-destructive to settings. A tip before using any cleaning program on MS Office 2003 is to go into: Start All Programs Microsoft Office Microsoft Office Tools Microsoft Office 2003 Save My Settings Wizard With Microsoft Office 2003 Save My Settings Wizard you can also restore your settings, and it works like a charm between WinXP re-installs too. Here's just a few other threads on it: http://forum.ccleaner.com/index. php?showtopic=4089 http://forum.ccleaner.com/index.php?showtopic=3935 http://forum.ccleaner.com/index.php?showtopic=3073 http://forum. ccleaner.com/index.php?showtopic=2940 http://forum.ccleaner.com/index. php?showtopic=1222 [/End quote] Stephen Diamond |
#33
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
I want to clarify that the software I was using wasn't CCleaner but Disk
Cleaner--with the same result. I posted the problem as a bug (not an angry letter) on December 13th, but no one responded. Then on 12/22 someone reported a similar bug in which he was losing his user settings, and this time there were a few responses, including the suggestion to fix the Office plugin so that it only cleans out junk files and not registry settings. -Andrea wrote: Shauna Kelly wrote: And then write a very angry letter to the makers of the software! I had a similar problem, described below, and posted an angry letter to the CCleaner forum. In the end I am not sure I was justified. The developer's advocate shifted the blame to Microsoft, perhaps not unreasonably. What do you think? My Posting: CCleaner deletes MS Word data key in registry, Bug that resets Word 2003 setting to default Such a problem has been reported with regard to registry cleaners in Microsoft forums . The odd thing here is that using only the temp cleaner and trash emptier alone--even when the temp cleaner says it deleted 0 bytes--resets Word 2003 setting to default. The pattern of affected setting make it clear it is deleting either the data key or the Settings value from the data key. If this serious bug has not been previously reported, it is probably because many users either don't reset Word settings from default or don't recognize the difference after resetting. Latest version of CCleaner Advocate's first response: This has been known for well over 1 1/2 years now, and a forum search would have revealed such information. If you wish to use Word 2003 with your settings intact you'll have to untick the cleaning of Office 2003 in CCleaner Taking your advice (to shift blame too g, I get angry: Amazing. I am expected to do a forum search to discover that a product widely promoted on the net has a bug that hasn't been resolved for over 1 1/2 years. Misleading promotion, if you ask me. Eventually consumers will wise up to the fact that a free product is no excuse for incompetent programming. No product is free; surely the developer obtains benefits from promoting his product, and owes a duty of informed consent to users. Expecting a response in kind, I read this quite reasonable answer: The problem isn't the developer, or the product CCleaner. Any other cleaning app that also offers to clean Office 2003 will probably result into the same problem because Microsoft placed some of the MRU lists within the actual settings such is the case in Word 2003. Hence the reason to only clean the list inside of Word 2003, and not use any other program to do it. To my knowledge that's the only way to clean Word 2003 without losing all settings. The same can also extend to other Office 2003 apps. To safely clean things like Publisher 2003, etc., without enabling the full cleaning of Office 2003 (which I myself will never enable again since I use Office 2003) check out the winapp2.ini add-on, the Publisher 2003 and Script Editor 2003 cleaning routines I submitted and know they're safe and non-destructive to settings. A tip before using any cleaning program on MS Office 2003 is to go into: Start All Programs Microsoft Office Microsoft Office Tools Microsoft Office 2003 Save My Settings Wizard With Microsoft Office 2003 Save My Settings Wizard you can also restore your settings, and it works like a charm between WinXP re-installs too. Here's just a few other threads on it: http://forum.ccleaner.com/index. php?showtopic=4089 http://forum.ccleaner.com/index.php?showtopic=3935 http://forum.ccleaner.com/index.php?showtopic=3073 http://forum. ccleaner.com/index.php?showtopic=2940 http://forum.ccleaner.com/index. php?showtopic=1222 [/End quote] Stephen Diamond |
#34
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
If some people want or need such thorough cleaning that their settings
have to be sacrificed in the process, I'm glad CCleaner provides this capability for them. But it isn't a behavior the user has any reason to expect. There must be a mechanism to bring the behavior to the user's attention before the effect is felt. One obvious way would be to turn Office cleaning OFF by default and pop-up a warning when the user checks Office. At this point, the CCleaner developer's irresponsible marketing of the product has destroyed the confidence in a product I need to allow it access to my registry, and I have deleted CCleaner. |
#35
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
In the hands of people who don't know what they are doing, registry cleaners
do more harm than good. It's all very well having a smaller registry, which might save a few seconds when you open Windows, but if the required entries are scrubbed along the way, then the applications may not work properly and in a worst case Windows will not start. Some of these applications also remove 'redundant' dlls! Disaster in the hands of the unwary -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: If some people want or need such thorough cleaning that their settings have to be sacrificed in the process, I'm glad CCleaner provides this capability for them. But it isn't a behavior the user has any reason to expect. There must be a mechanism to bring the behavior to the user's attention before the effect is felt. One obvious way would be to turn Office cleaning OFF by default and pop-up a warning when the user checks Office. At this point, the CCleaner developer's irresponsible marketing of the product has destroyed the confidence in a product I need to allow it access to my registry, and I have deleted CCleaner. |
#36
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
I understand that even a massively inflated registry has no significant
effect on anything except the length of time required to search the registry. Yet despite this knowledge, it is hard to eschew registry cleaning. I don't know why exactly. There's something like a pre-wire intution that if your remove 1,000 useless registry entries, it has to imply there was a problem. I myself don't run any serious risks, because I never proceed without a full disk image. Worst case scenario, I lose 20 minutes while I restore the disk. Sometimes problems arise with applications long afterwards, but here the worse case is a reinstallation of the application. Still, why waste the time. Registry cleaning may qualify as an addiction. Stephen R. Diamond Graham Mayor wrote: In the hands of people who don't know what they are doing, registry cleaners do more harm than good. It's all very well having a smaller registry, which might save a few seconds when you open Windows, but if the required entries are scrubbed along the way, then the applications may not work properly and in a worst case Windows will not start. Some of these applications also remove 'redundant' dlls! Disaster in the hands of the unwary -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: If some people want or need such thorough cleaning that their settings have to be sacrificed in the process, I'm glad CCleaner provides this capability for them. But it isn't a behavior the user has any reason to expect. There must be a mechanism to bring the behavior to the user's attention before the effect is felt. One obvious way would be to turn Office cleaning OFF by default and pop-up a warning when the user checks Office. At this point, the CCleaner developer's irresponsible marketing of the product has destroyed the confidence in a product I need to allow it access to my registry, and I have deleted CCleaner. |
#37
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
I understand that even a massively inflated registry has no significant
effect on anything except the length of time required to search the registry. Yet despite this knowledge, it is hard to eschew registry cleaning. I don't know why exactly. There's something like a pre-wire intution that if your remove 1,000 useless registry entries, it has to imply there was a problem. I myself don't run any serious risks, because I never proceed without a full disk image. Worst case scenario, I lose 20 minutes while I restore the disk. Sometimes problems arise with applications long afterwards, but here the worse case is a reinstallation of the application. Still, why waste the time. Registry cleaning may qualify as an addiction. Stephen R. Diamond Graham Mayor wrote: In the hands of people who don't know what they are doing, registry cleaners do more harm than good. It's all very well having a smaller registry, which might save a few seconds when you open Windows, but if the required entries are scrubbed along the way, then the applications may not work properly and in a worst case Windows will not start. Some of these applications also remove 'redundant' dlls! Disaster in the hands of the unwary -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: If some people want or need such thorough cleaning that their settings have to be sacrificed in the process, I'm glad CCleaner provides this capability for them. But it isn't a behavior the user has any reason to expect. There must be a mechanism to bring the behavior to the user's attention before the effect is felt. One obvious way would be to turn Office cleaning OFF by default and pop-up a warning when the user checks Office. At this point, the CCleaner developer's irresponsible marketing of the product has destroyed the confidence in a product I need to allow it access to my registry, and I have deleted CCleaner. |
#38
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
I understand that even a massively inflated registry has no significant
effect on anything except the length of time required to search the registry. Yet despite this knowledge, it is hard to eschew registry cleaning. I don't know why exactly. There's something like a pre-wire intution that if your remove 1,000 useless registry entries, it has to imply there was a problem. I myself don't run any serious risks, because I never proceed without a full disk image. Worst case scenario, I lose 20 minutes while I restore the disk. Sometimes problems arise with applications long afterwards, but here the worse case is a reinstallation of the application. Still, why waste the time. Registry cleaning may qualify as an addiction. Stephen R. Diamond Graham Mayor wrote: In the hands of people who don't know what they are doing, registry cleaners do more harm than good. It's all very well having a smaller registry, which might save a few seconds when you open Windows, but if the required entries are scrubbed along the way, then the applications may not work properly and in a worst case Windows will not start. Some of these applications also remove 'redundant' dlls! Disaster in the hands of the unwary -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: If some people want or need such thorough cleaning that their settings have to be sacrificed in the process, I'm glad CCleaner provides this capability for them. But it isn't a behavior the user has any reason to expect. There must be a mechanism to bring the behavior to the user's attention before the effect is felt. One obvious way would be to turn Office cleaning OFF by default and pop-up a warning when the user checks Office. At this point, the CCleaner developer's irresponsible marketing of the product has destroyed the confidence in a product I need to allow it access to my registry, and I have deleted CCleaner. |
#39
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Programs that Delete Word Settings (Was Reading Layout View)
However it might stop your PC coughing out posts in triplicate?
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: I understand that even a massively inflated registry has no significant effect on anything except the length of time required to search the registry. Yet despite this knowledge, it is hard to eschew registry cleaning. I don't know why exactly. There's something like a pre-wire intution that if your remove 1,000 useless registry entries, it has to imply there was a problem. I myself don't run any serious risks, because I never proceed without a full disk image. Worst case scenario, I lose 20 minutes while I restore the disk. Sometimes problems arise with applications long afterwards, but here the worse case is a reinstallation of the application. Still, why waste the time. Registry cleaning may qualify as an addiction. Stephen R. Diamond Graham Mayor wrote: In the hands of people who don't know what they are doing, registry cleaners do more harm than good. It's all very well having a smaller registry, which might save a few seconds when you open Windows, but if the required entries are scrubbed along the way, then the applications may not work properly and in a worst case Windows will not start. Some of these applications also remove 'redundant' dlls! Disaster in the hands of the unwary -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org wrote: If some people want or need such thorough cleaning that their settings have to be sacrificed in the process, I'm glad CCleaner provides this capability for them. But it isn't a behavior the user has any reason to expect. There must be a mechanism to bring the behavior to the user's attention before the effect is felt. One obvious way would be to turn Office cleaning OFF by default and pop-up a warning when the user checks Office. At this point, the CCleaner developer's irresponsible marketing of the product has destroyed the confidence in a product I need to allow it access to my registry, and I have deleted CCleaner. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Turning off Reading layout view when opening from Outlook | Microsoft Word Help | |||
Disable Reading Layout View | Page Layout | |||
Reading layout view | Page Layout | |||
want to send an article by reading layout view how? | Microsoft Word Help | |||
How do I optimize a document to be read in Reading Layout view? | Page Layout |