Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 125
Default Help! I Deleted my File Menu bar Control

Can some one tell me how to get my file Menu bar control back
I accidentaly deleted it.

This is the line of code that I ran that delted it.

Application.CommandBars("Worksheet Menu Bar").Controls(1).delete

now I have tried to get it back using this code
Application.CommandBars("Worksheet Menu Bar").Controls(1).Enable
and this..
Application.CommandBars("Worksheet Menu Bar").Controls(1).Visible = True

Neither have brought it back Please HELP !

Dan



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Help! I Deleted my File Menu bar Control

Dan,

Try
Application.CommandBars("Worksheet Menu Bar").Reset


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



"Dan Thompson" wrote in
message
...
Can some one tell me how to get my file Menu bar control back
I accidentaly deleted it.

This is the line of code that I ran that delted it.

Application.CommandBars("Worksheet Menu
Bar").Controls(1).delete

now I have tried to get it back using this code
Application.CommandBars("Worksheet Menu
Bar").Controls(1).Enable
and this..
Application.CommandBars("Worksheet Menu
Bar").Controls(1).Visible = True

Neither have brought it back Please HELP !

Dan





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 125
Default Help! I Deleted my File Menu bar Control

That worked Chip Thanks

Cheers..

"Chip Pearson" wrote:

Dan,

Try
Application.CommandBars("Worksheet Menu Bar").Reset


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



"Dan Thompson" wrote in
message
...
Can some one tell me how to get my file Menu bar control back
I accidentaly deleted it.

This is the line of code that I ran that delted it.

Application.CommandBars("Worksheet Menu
Bar").Controls(1).delete

now I have tried to get it back using this code
Application.CommandBars("Worksheet Menu
Bar").Controls(1).Enable
and this..
Application.CommandBars("Worksheet Menu
Bar").Controls(1).Visible = True

Neither have brought it back Please HELP !

Dan






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
Resorting Deleted Menu/Toolbar Fester Bestertester Excel Discussion (Misc queries) 1 August 2nd 07 07:38 PM
Control item PRINT in menu FILE of Excel [email protected] Excel Discussion (Misc queries) 0 April 6th 06 10:25 AM
Suddenly deleted Tools Menu Rao Ratan Singh New Users to Excel 1 February 17th 06 09:52 AM
How can a control be deleted? Bill Tasker Excel Discussion (Misc queries) 2 February 18th 05 11:49 PM
Menu Item Deleted Caddy Shack Excel Programming 4 January 30th 05 06:23 PM


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