Hi Kamran,
I don't know whether the following covers all possible situations.
But it may be a start:
Sub MyTest()
CommandBars("Task Pane").Visible = False
With ActiveWindow
.Split = False
.DocumentMap = False
.View = wdPrintView
With .ActivePane
.View.SeekView = wdSeekMainDocument
.View.Zoom.PageColumns = 2
.View.Zoom.PageRows = 1
End With
End With
End Sub

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Kamran - 24 Jul 2007 19:34 GMT
Thanks for the response. It seems I'm having the same problem with both
versions: It doesn't work if Word is in Print Layout mode. When I switch
first to Normal View, then the macro works.