Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Andy T
 
Posts: n/a
Default Hiding the Standard Toolbar

Is there some code that will hide the Standard Tool bar when opening a
workbook and will restore it on close?
--
Andy T
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

Andy,

Try

Sub Auto_Open()
Application.CommandBars("Standard").Visible = False
End Sub

Sub Auto_Close()
Application.CommandBars("Standard").Visible = True
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"Andy T" wrote in message
...
Is there some code that will hide the Standard Tool bar when
opening a
workbook and will restore it on close?
--
Andy T



  #3   Report Post  
Andy T
 
Posts: n/a
Default

Hi Chip,

Many thanks. This works a treat.

Kind Regards

"Chip Pearson" wrote:

Andy,

Try

Sub Auto_Open()
Application.CommandBars("Standard").Visible = False
End Sub

Sub Auto_Close()
Application.CommandBars("Standard").Visible = True
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"Andy T" wrote in message
...
Is there some code that will hide the Standard Tool bar when
opening a
workbook and will restore it on close?
--
Andy T




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
"work items toolbar" UncleVinny Excel Discussion (Misc queries) 4 December 21st 04 12:59 AM
"Drawing" Toolbar is inactive Deauxx Excel Discussion (Misc queries) 1 December 8th 04 03:03 PM
eurovalue toolbar won't go away windowed Excel Discussion (Misc queries) 2 December 3rd 04 04:12 PM
Why are some commands in Excel's Drawing Toolbar greyed-out (eg T. Konrad Excel Discussion (Misc queries) 1 December 2nd 04 04:31 PM
How do I stop the Reviewing toolbar from showing up in Excel? RickKel Excel Discussion (Misc queries) 2 November 26th 04 05:37 PM


All times are GMT +1. The time now is 02:31 AM.

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"