Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Remove Save Button from toolbar

I need to check if the workbook's name is "TT.xls" - if it is, I want to remove the save button from the toolbar.

Then, what is the code to get it back?

Thanks a lot,
TT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Remove Save Button from toolbar

Sub TestTT()
Dim wb As Workbook

For Each wb In Workbooks
MsgBox wb.Name
If wb.Name = "TT.xls" Then
'commndbars().Controls().Visible = False
Else
'commndbars().Controls().Visible = True
End If
Next wb

End Sub

-----Original Message-----
I need to check if the workbook's name is "TT.xls" - if

it is, I want to remove the save button from the toolbar.

Then, what is the code to get it back?

Thanks a lot,
TT
.

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
Save a macro button onto a toolbar BG Mark Excel Discussion (Misc queries) 7 June 5th 10 05:44 PM
How to remove customized button from toolbar? Eric Excel Discussion (Misc queries) 1 August 6th 09 05:44 AM
Excel 2002 has no option to add the save as button to the toolbar- kselg Excel Discussion (Misc queries) 2 August 22nd 06 05:48 PM
how to get disk icon on save button of save as dialog like 2000 RichT Excel Discussion (Misc queries) 2 March 9th 06 08:13 PM
I can't remove the Email button to the Standard toolbar in Excel Valerie Dyet Excel Discussion (Misc queries) 0 December 16th 05 08:10 PM


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