Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default URGENT - File Menu!

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default URGENT - File Menu!

ToolsCustomizeReset

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"steve" wrote in message
...
I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted

Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 324
Default URGENT - File Menu!

I would try re-installing MSOffice. That may be the only recourse.
--
Best wishes,

Jim


"steve" wrote:

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default URGENT - File Menu!

Tools=Customize

In the toolbars tab, select worksheet menu bar and click the reset button.

--
Regards,
Tom Ogilvy


"steve" wrote:

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default URGENT - File Menu!

When you commit a major blunder and you catch it before you have saved the
file, simply close the file without saving and everything will be as it was
before the blunder. If you want to save your work up to that point, then
copy it to a new workbook and when you reopen the original file, you can copy
it back. In this case, you had an out that could restore your menu to its
original state.

"steve" wrote:

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default URGENT - File Menu!

"JLGWhiz" wrote in message

When you commit a major blunder and you catch it before you have saved the
file, simply close the file without saving and everything will be as it
was
before the blunder.


Not in this case. The menus and commandbars are completely separate from any
particular workbook (unless they're Attached), and closing a workbook
without saving won't restore the menus.

The first thing I'd try is
Application.CommandBars.ActiveMenuBar.Reset

If this didn't work, I'd delete the XLB file (Search for "*.xlb" . The name
and location will vary depending on your version of Excel and of Windows.



This should be
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com
(email address is on the web site)


"JLGWhiz" wrote in message
...
When you commit a major blunder and you catch it before you have saved the
file, simply close the file without saving and everything will be as it
was
before the blunder. If you want to save your work up to that point, then
copy it to a new workbook and when you reopen the original file, you can
copy
it back. In this case, you had an out that could restore your menu to its
original state.

"steve" wrote:

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted
Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default URGENT - File Menu!

You caught me Chip! I was not paying attention.

"Chip Pearson" wrote:

"JLGWhiz" wrote in message

When you commit a major blunder and you catch it before you have saved the
file, simply close the file without saving and everything will be as it
was
before the blunder.


Not in this case. The menus and commandbars are completely separate from any
particular workbook (unless they're Attached), and closing a workbook
without saving won't restore the menus.

The first thing I'd try is
Application.CommandBars.ActiveMenuBar.Reset

If this didn't work, I'd delete the XLB file (Search for "*.xlb" . The name
and location will vary depending on your version of Excel and of Windows.



This should be
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com
(email address is on the web site)


"JLGWhiz" wrote in message
...
When you commit a major blunder and you catch it before you have saved the
file, simply close the file without saving and everything will be as it
was
before the blunder. If you want to save your work up to that point, then
copy it to a new workbook and when you reopen the original file, you can
copy
it back. In this case, you had an out that could restore your menu to its
original state.

"steve" wrote:

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted
Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve




  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default URGENT - File Menu!

ToolsCustomizeReset

Worked!! Thanks!

"steve" wrote:

I'm learning how to make cutom tool bars. I used an example I got from
J-Walk, but I accidentally named my custom menu "File". It deleted Excel's
"File" menu, now I can't get it back.

I've tried:
Application.CommandBars.FindControl(ID:=30002).Vis ible = True

Please Help!
Thanks,
Steve

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
Slow File Menu on Menu Bar John S.[_2_] Excel Discussion (Misc queries) 2 October 5th 08 06:45 PM
URGENT!!!BIg FILE SIZE??? Dan in NY Excel Discussion (Misc queries) 0 February 17th 05 07:39 PM
URGENT: Creating a drop-down menu to perform v-lookup function marika1981 Excel Programming 5 January 26th 05 07:37 PM
Highlight a selection from a menu, urgent! aiyer[_58_] Excel Programming 0 September 1st 04 02:54 PM
Lost the 'Help' menu, urgent! aiyer[_47_] Excel Programming 2 August 18th 04 03:34 PM


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