Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Need code - scrollbars when document opens

Hello!

I have code that places the selects Cell E5 when a
document is open. I thought that would automatically set
the scrollbars, but it doesn't.

I want the horizontal scrollbar to go completely to the
left on open and the vertical scrollbar to be completely
at the top of the document.

I searched help, but all I could find was setting
scrollbars on a form.

Any help you can give will be greatly appreciated!

Sandy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Need code - scrollbars when document opens

Thanks, Don!

Sandy
-----Original Message-----
Hi Sandy,

See:-

Activewindow.DisplayHorizontalScrollBar = False (True)
ActiveWindow.DisplayVerticalScrollBar = False (True)

The above hide (show) the scrollbars.

The position indicated by the scrollbars depends on the

scrollable area.

See ActiveSheet.ScrollArea

regards,
Don
--

"Sandy" wrote in message
...
Hello!

I have code that places the selects Cell E5 when a
document is open. I thought that would automatically

set
the scrollbars, but it doesn't.

I want the horizontal scrollbar to go completely to the
left on open and the vertical scrollbar to be completely
at the top of the document.

I searched help, but all I could find was setting
scrollbars on a form.

Any help you can give will be greatly appreciated!

Sandy



.

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
Excel opens, but document doesn't Stevie Setting up and Configuration of Excel 1 September 7th 06 12:59 PM
Excel Document opens twice Mindie Setting up and Configuration of Excel 1 May 30th 06 06:34 PM
Excel opens with the file I want plus a new, blank document? Pallet Guy Setting up and Configuration of Excel 4 July 26th 05 03:20 PM
My document opens but all I see is a grey screen. stuck Excel Discussion (Misc queries) 1 January 25th 05 06:43 PM
add a menu bar when document opens Todd[_5_] Excel Programming 5 September 10th 03 08:23 AM


All times are GMT +1. The time now is 05:35 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"