Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 328
Default Excel 2003 - Hide Toolbar

Hi

I am using the following to hide the toolbar in Excel 2007
Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub

Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub

However, I need to modify this for my 2003 users to hide the toolbars, could
anyone tell me the command to use in my macro

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Excel 2003 - Hide Toolbar

Can you use something like this?
Sub Macro1()
Application.CommandBars("Protection").Visible = True
End Sub


Regards,
Ryan---

--
RyGuy


"Lisa" wrote:

Hi

I am using the following to hide the toolbar in Excel 2007
Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub

Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub

However, I need to modify this for my 2003 users to hide the toolbars, could
anyone tell me the command to use in my macro

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 328
Default Excel 2003 - Hide Toolbar

I'll try that, thanks..

"ryguy7272" wrote:

Can you use something like this?
Sub Macro1()
Application.CommandBars("Protection").Visible = True
End Sub


Regards,
Ryan---

--
RyGuy


"Lisa" wrote:

Hi

I am using the following to hide the toolbar in Excel 2007
Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub

Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub

However, I need to modify this for my 2003 users to hide the toolbars, could
anyone tell me the command to use in my macro

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Excel 2003 - Hide Toolbar

See this page Lisa for more information
http://www.rondebruin.nl/menuid.htm

How do I disable all Command bars

If you want them back use True instead of False in the code
Sub Disable_Command_Bars_1()
'This will disable all Command bars
Dim Cbar As CommandBar
For Each Cbar In Application.CommandBars
Cbar.Enabled = False
Next
End Sub

More examples are in the workbook that you can download on this page.


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Lisa" wrote in message ...
Hi

I am using the following to hide the toolbar in Excel 2007
Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub

Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub

However, I need to modify this for my 2003 users to hide the toolbars, could
anyone tell me the command to use in my macro

Thanks

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
How do I hide the Quick Access Toolbar in Excel 2007? D7 Excel Discussion (Misc queries) 2 November 17th 09 02:27 AM
hide 0 values in quick access toolbar (Excel 2007) Jaap van der Velden Excel Worksheet Functions 0 January 12th 09 01:28 PM
How do I get 2003 Macros and Toolbar Buttons form Excel 2003 to 20 Scott Sornberger New Users to Excel 2 March 19th 08 11:42 AM
How to hide the outlook toolbar when opening an excel file Chris Excel Discussion (Misc queries) 0 December 27th 05 06:05 PM
auto hide toolbar in Excel won't work teecee8 Excel Discussion (Misc queries) 5 July 22nd 05 06:08 AM


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