Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl/Home changes the Zoom HuskerAlumna95 Excel Discussion (Misc queries) 4 March 4th 09 09:23 PM
Ctrl+Home is not A1 Lilbit Excel Worksheet Functions 2 September 25th 08 06:20 PM
In freezed panes how do i print rows a-d and l-k together on 1 pg? Excel questions about printing Excel Discussion (Misc queries) 2 September 26th 06 06:04 PM
freezed panes and autofilter Laurent Excel Discussion (Misc queries) 0 September 21st 06 10:48 AM
Using freezed panes in excel, how do I save the page as HTML? Jaffa„˘ Excel Discussion (Misc queries) 1 January 21st 05 09:25 AM


All times are GMT +1. The time now is 09:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"