Forcing Word 2000 into Normal View

  • From: "Margaret Thomas" <iluvtoread@xxxxxxx>
  • To: "jfw" <jfw@xxxxxxxxxxxxx>
  • Date: Tue, 23 Mar 2004 17:49:45 -0500

Hi All,

    I'm having a problem with existing documents opening in normal
view in Word 2000     and saved a post from the old JFWlite list which
I think may solve my problem:

If you have been following this thread, you know that by now we have
figured
out how to get new documents to always open in normal view, but we
hadn't
figured out a way to get existing documents to always open in normal
view.
Well I thought there must be a way, so I did some searching on Google.
You could probably do it with some sort of jaws script also, but here
is how
to do it native to word.
I found the answer at:
http://www.theofficeexperts.com/VBASamples/Word02.htm
I tested this with Word XP, but I believe it should work for all
versions of
Word.
This is probably for the more experienced word user and
I would make a backup of my normal.dot template first.
Please read the above article first and then here is my "jaws
friendly"
version based on the above how to article.

First you must navigate to and open the normal.dot template file.
Then press alt f11 to be placed in the visual basic editor.
Press control R to be sure you are in the project explorer.
Arrow down in the treeview to where it says ThisDocument and hit
enter.
This should place you in the code window.
Copy and paste the following lines (do not include the copy from here
and
stop copying, smile).
Copy from below here:

Private Sub Document_New()
  SetView wdNormalView
End Sub

Private Sub Document_Open()
  SetView wdNormalView
End Sub

Private Sub SetView(ByVal iView As Integer)
  With ActiveDocument.ActiveWindow
    If .View.SplitSpecial = wdPaneNone Then
        .ActivePane.View.Type = iView
    Else
        .View.Type = iView
    End If
  End With
End Sub

Stop Copying.
Paste that and press alt f4.
This should close the visual basic editor and place you back in the
normal.dot.
Press alt f4 to leave word and close the normal.dot.
You will be asked if you want to save the changes to the normal.dot
template.
Enter on yes.
So far on every thing I have tested this change with, they have all
opened
in normal view regardless of the view in which they were created or
saved.

    I'm running Windows 98 se and am wondering if the blank lines
before
"Private Sub Document_New()"

and after
"End Sub
"
should be copied?

    Thanks,
Margaret
iluvtoread@xxxxxxx

--
To post a message to the list, send it to jfw@xxxxxxxxxxxxx
To unsubscribe from this mailing list, send a message to 
jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line.

If you have any concerns about the list, post received from the list, or the 
way the list is being run, do not post them to the list. Rather contact the 
list owner at jfw-admins@xxxxxxxxxxxxxx

Other related posts: