Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Slow File Menu on Menu Bar | Excel Discussion (Misc queries) | |||
URGENT!!!BIg FILE SIZE??? | Excel Discussion (Misc queries) | |||
URGENT: Creating a drop-down menu to perform v-lookup function | Excel Programming | |||
Highlight a selection from a menu, urgent! | Excel Programming | |||
Lost the 'Help' menu, urgent! | Excel Programming |