• What determines state of Word on start up (Word 2000 & XP)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » What determines state of Word on start up (Word 2000 & XP)

    • This topic has 5 replies, 4 voices, and was last updated 23 years ago.
    Author
    Topic
    #370896

    Good morning (KIWI time)
    Can someone tell me what determines how Word appears at startup of a session
    View, normal or pageLayout
    Ruler, present or not
    zoom factor.

    Are these setting saved on exit ?
    Will it vary with templates.

    The question surfaces from a user complaint.

    Regards
    Geof

    Viewing 1 reply thread
    Author
    Replies
    • #588077

      The settings “how Word appears” are stored in the user’s normal.dot and in the registry. Any changes made to Word options during the session are saved when Word closes.

      Add-ins, global templates, document templates and documents can all alter Word settings (via VBA code).

      • #588923

        Thanks Kevin & Jefferson.

        I put this code into the ‘myDocument’ object of the user’s normal.dot

        Use didn’t want to worry about how/ where /when state of last document.
        ============
        sub document_open
        With ActiveDocument.ActiveWindow
        ‘.View.Type = wdPrintView
        .View.Type = wdNormalView
        ‘.DisplayVerticalRuler = True
        .DisplayRulers = True
        .ActivePane.View.Zoom.Percentage = 100

        End With

        end sub
        ====================
        Seems to have done the trick. It wont have solved every case but …
        Geof

        • #589002

          Geof,

          Back in mid December, there was a post by someone whose Word documents mysteriously started showing gray lines – sometimes horizontal, sometimes vertical, sometimes both. It was determined that these were grid lines (available starting with Word 2000) but you’d only see them if your zoom were high enough.

          This lead to a suggestion from me that it would be desirable to have a macro called something like ViewItMyWay. Jefferson suggested just going thru various dialogs and setting/checking the options to get a listing of the code. That’s a good start. Don’t know if you did that here for your few statements. Anyway, this is a straightforward exercise which I just did on this Word 97 machine. Be glad to post it if interested.

          Don’t know if you’d want something like this in an Open event. You could include an Input box to determine if the macro should be run.

          Where my skills leave off would be creating a user form that has all the options and allows the user to reset them. I’d just change the macro statements doing it the hard way.

          If certain changes are to be made, then, as Jefferson said, the macro has to dirty the document.

          Fred

          • #589110

            Hi Fred
            Thanks for the thoughts.

            I am seriously thinking about trying to cobble a routine that checks for alterations to registry settings during a session and then prompting the user to accept a ‘standard’ set of reg entries to be rewritten …
            I dont know whether this is desirable or even required. It might be a case of sledge hammers for nut crackers and dangerous as well.

            Geof

    • #588091

      Word doesn’t save view changes unless something in the document or its options has changed. To save a view change, also add and delete a space in the body of the document (for example) before saving. (For historical reasons, this often is called “dirtying” the document, and if you would like to read more about this subject, search this board for dirty and view.)

    Viewing 1 reply thread
    Reply To: What determines state of Word on start up (Word 2000 & XP)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: