Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a set of macro's that select a predefined cell. Although the cells
are correctly selected I wish to make the newly selected cell move to the top left hand corner of the window. The ActiveWindow.ScrollIntoView command seems ideal, I can use the top, left, width and height properties of the range object to indicate what I want at the top left. However it doesnt seem to work, the command executes without errror, but the cell is often placed only half way up the screen? Is there a margin or some other setting I have ignored? Grateful for any advice. Thanks, Peter M |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With Activewindow
.ScrollRow = ActiveCell.Row .ScrollColumn = ActiveCell.Column End With -- Regards, Tom Ogilvy "Peter M" wrote in message ... I have a set of macro's that select a predefined cell. Although the cells are correctly selected I wish to make the newly selected cell move to the top left hand corner of the window. The ActiveWindow.ScrollIntoView command seems ideal, I can use the top, left, width and height properties of the range object to indicate what I want at the top left. However it doesnt seem to work, the command executes without errror, but the cell is often placed only half way up the screen? Is there a margin or some other setting I have ignored? Grateful for any advice. Thanks, Peter M |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Column Headings Scroll out of view | Excel Discussion (Misc queries) | |||
View, scroll and select a cell value from another Excel sheet? | Excel Worksheet Functions | |||
Scroll the screen view with the scroll bar | Excel Discussion (Misc queries) | |||
Possible to view spreadsheets without scroll bars? | Excel Discussion (Misc queries) | |||
Scroll selection into view | Excel Programming |