Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A better example: This will toggle between range1 as scroll area
and removing the scroll area limitations on mouse, arrow keys, scrolling, etc. Private Sub Worksheet_BeforeRightClick(ByVal Target _ As Range, Cancel As Boolean) Cancel = True If ActiveSheet.ScrollArea = "" Then ActiveSheet.ScrollArea = "range1" Else ActiveSheet.ScrollArea = "" End If End Sub --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Restricting Scroll Area | Excel Discussion (Misc queries) | |||
Scroll Area | Excel Discussion (Misc queries) | |||
Worksheet scroll area | Excel Discussion (Misc queries) | |||
how to set scroll area | Excel Programming | |||
Scroll Area for Data | Excel Programming |