#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Scroll bars

Hi everyone.

Is there any way of turning off the scroll bars in Excel for a particular
workbook, as opposed to turning them off for every workbook?

--
Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Scroll bars

For each workbook......yes.

Save the workbook with the bars off.

ToolsOptionsView and uncheck the two options

Close that workbook and open another.......bars are visible.

If you meant "worksheet", you cannot do this without event code.


Gord Dibben MS Excel MVP


On Sun, 10 Dec 2006 21:00:25 GMT, "Tazzy via OfficeKB.com" <u26845@uwe wrote:

Hi everyone.

Is there any way of turning off the scroll bars in Excel for a particular
workbook, as opposed to turning them off for every workbook?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Scroll bars

Thanks for that Gord - easy when you know how!

So, how would I use event code for this, it's not something I've used before

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200612/1

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Scroll bars

Do you mean event code to turn scrollbars off when you activate a specific
worksheet?

Private Sub Worksheet_Activate()
With ActiveWindow
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
End With
End Sub

Private Sub Worksheet_Deactivate()
With ActiveWindow
.DisplayHorizontalScrollBar = True
.DisplayVerticalScrollBar = True
End With
End Sub

This is sheet event code.

Right-click on sheet tab and "View Code"

Copy/paste the above into that sheet module.


Gord

On Sun, 10 Dec 2006 21:37:46 GMT, "Tazzy via OfficeKB.com" <u26845@uwe wrote:

Thanks for that Gord - easy when you know how!

So, how would I use event code for this, it's not something I've used before


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
No scroll bars in program Mike Excel Discussion (Misc queries) 6 September 5th 14 10:16 PM
how do I get the scroll bars on the Excel window Rob in Corpus Christi Excel Discussion (Misc queries) 1 October 29th 06 01:19 AM
VBA for setting max value in scroll bars on charts? [email protected] Charts and Charting in Excel 3 July 26th 06 10:32 PM
How do I set a maximum value for the scroll bars in Excel? PipsPerson Excel Discussion (Misc queries) 2 November 10th 05 04:32 PM
Excel opens saved workbook without tabs or scroll bars showing? Dave W Franklin Excel Worksheet Functions 1 May 11th 05 11:11 PM


All times are GMT +1. The time now is 07:24 PM.

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

About Us

"It's about Microsoft Excel"