Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello!
I have code that selects cell E5 of a certain sheet on opening a workbook. Thought that would work to position the scrollbars too, but it doesn't. I need also to have the horizontal scrollbar completely to the left at startup and the vertial scrollbar at the top. Does anyone know how to put this in code? Sandy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Sandy,
try the following: Range("E5").Select ActiveWindow.ScrollRow = 1 ActiveWindow.ScrollColumn = 1 Zantor ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks, Zantor! Sandy -----Original Message----- Hi Sandy, try the following: Range("E5").Select ActiveWindow.ScrollRow = 1 ActiveWindow.ScrollColumn = 1 Zantor ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how can i open a second workbook using a vba code | Excel Discussion (Misc queries) | |||
Need VB code for workbook open to open a link | Excel Discussion (Misc queries) | |||
Need code - scrollbars when document opens | Excel Programming | |||
Workbook Open code | Excel Programming | |||
Workbook Open code | Excel Programming |