View Single Post
 
Old 07-08-2014, 12:34 PM
whatsup whatsup is offline Windows 7 64bit Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Hi

hm, difficult, maybe with some magic API, but you also can do it by using a workaround:

Code:
Sub Workaround()
Dim RowScr As Long
Dim ColScr As Long
Dim Winzom As Long

Application.ScreenUpdating = False
Sheets(2).Activate
With ActiveWindow
    RowScr = .ScrollRow
    ColScr = .ScrollColumn
    Winzom = .Zoom
End With
Sheets(1).Activate

Application.ScreenUpdating = True

MsgBox "RowScr: " & RowScr & vbCrLf _
    & "ColScr: " & ColScr & vbCrLf _
    & "WinZom: " & Winzom
    
End Sub
Reply With Quote