Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I can detect the visible range in the active worksheet with:
Sub Macro1() Dim r As Range Dim s As String Set r = ActiveWindow.VisibleRange s = r.Address MsgBox (s) End Sub When, however, I try to setup the visible range with: Sub Macro2() Dim s As String s = "$A$1:Z$100" ActiveWindow.VisibleRange = Range(s) End Sub Nothing happens. How can I adjust the scrollbars and zoom so that the upper left-hand cell is A1 and the lower right-hand cell is Z100 using VBA? Thanks in Advance -- Gary's Student |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumif for Visible range when using filter | Excel Discussion (Misc queries) | |||
Set Range of visible Autofilltered columns VBA? | Excel Discussion (Misc queries) | |||
Setting visible range | Excel Programming | |||
SumIf in Visible Cell Range | Excel Worksheet Functions | |||
Sum only visible cells within a range. | Excel Programming |