Set group of wksheets to top of page
Hi,
Is there a way to set a group of worksheets to the top of the page without
activating each individual worksheet. Here is what I have but it doesn't
work unless I activate each sheet.
FirstIndex = Firstpg.Index
LastIndex = Lastpg.Index
Set ws = Nothing
For Each ws In wbkCopyTo.Worksheets
'set worksheet to top of page
If ws.Index FirstIndex Then
If ws.Index < LastIndex Then
ws.Activate
Application.GoTo Reference:="R4C7"
ActiveWindow.SmallScroll Up:=3
ActiveWindow.ScrollColumn = 1
End If
End If
Next
--
Thanks for your help.
Karen53
|