Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Freezed Panes and CTRL+HOME
Hi TWIMC,
On a workbook, if you have Frozen Panes and then you press CTRL+ HOME, the selected cell becomes the cell directly below where the intersection of the frozen panes. So the question is there a way to perform a CTRL+HOME in VBA code without using the dreaded Sendkeys? TIA KM |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Freezed Panes and CTRL+HOME
there may be other ways but this works:
Sub Homing() With ActiveWindow.ActivePane .ScrollRow = 1 .ScrollColumn = 1 .VisibleRange(1).Activate End With End Sub -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Kevin McCartney wrote : Hi TWIMC, On a workbook, if you have Frozen Panes and then you press CTRL+ HOME, the selected cell becomes the cell directly below where the intersection of the frozen panes. So the question is there a way to perform a CTRL+HOME in VBA code without using the dreaded Sendkeys? TIA KM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Ctrl/Home changes the Zoom | Excel Discussion (Misc queries) | |||
Ctrl+Home is not A1 | Excel Worksheet Functions | |||
In freezed panes how do i print rows a-d and l-k together on 1 pg? | Excel Discussion (Misc queries) | |||
freezed panes and autofilter | Excel Discussion (Misc queries) | |||
Using freezed panes in excel, how do I save the page as HTML? | Excel Discussion (Misc queries) |