Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default Menu Restoration

Hi

I have removed inbuilt Excel menus and replaced them with mine. Now if I
need to get back Excel to the default look I have restore the menus one by
one. Although it is a one minute task I like to know if it can be done with a
push of a button that is with with help of codes. If yes could someone let me
the know codes for reversing to default and for getting back to cutomised
position?

I will get back in touch on Monday.

Thanks and Regards

Varne
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Menu Restoration

hi
yes it can be done with code. Any thing you do with the mouse or keyboard
can be done with code. not to mention a lot of other stuff.
repeat all of your actions of replacing your menus while on macro record.
excel will write the code for you. The record a second macro restoring
defaults. you can attach each macro to a custom toolbar button and reduce the
whole process to a button click.

Regards
FSt1

"Varne" wrote:

Hi

I have removed inbuilt Excel menus and replaced them with mine. Now if I
need to get back Excel to the default look I have restore the menus one by
one. Although it is a one minute task I like to know if it can be done with a
push of a button that is with with help of codes. If yes could someone let me
the know codes for reversing to default and for getting back to cutomised
position?

I will get back in touch on Monday.

Thanks and Regards

Varne

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default Menu Restoration

Hi

Thanks.

Your answer is correct.

I tried what you said on my computer but there were no codes. It was similar
to when you try to get the codes for copying something from Excel and
pasting onto Word. On this computer the first one works but not the later
one. Going by what you say I should have the codes for the later one also but
I am not getting it. If you do not mind please answer.

Thanks again.

M Varne



"FSt1" wrote:

hi
yes it can be done with code. Any thing you do with the mouse or keyboard
can be done with code. not to mention a lot of other stuff.
repeat all of your actions of replacing your menus while on macro record.
excel will write the code for you. The record a second macro restoring
defaults. you can attach each macro to a custom toolbar button and reduce the
whole process to a button click.

Regards
FSt1

"Varne" wrote:

Hi

I have removed inbuilt Excel menus and replaced them with mine. Now if I
need to get back Excel to the default look I have restore the menus one by
one. Although it is a one minute task I like to know if it can be done with a
push of a button that is with with help of codes. If yes could someone let me
the know codes for reversing to default and for getting back to cutomised
position?

I will get back in touch on Monday.

Thanks and Regards

Varne

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Menu Restoration

I use a one-liner for each menu

Application.CommandBars(1).Controls("&HELP").Reset

Replace the &HELP with the correct menu name(s) that you wish to restore.
Thats the same as a Customize-Reset done manually.

Tim


"Varne" wrote:

Hi

I have removed inbuilt Excel menus and replaced them with mine. Now if I
need to get back Excel to the default look I have restore the menus one by
one. Although it is a one minute task I like to know if it can be done with a
push of a button that is with with help of codes. If yes could someone let me
the know codes for reversing to default and for getting back to cutomised
position?

I will get back in touch on Monday.

Thanks and Regards

Varne

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
Nationwide Water Damage Restoration 24 hour open 7 Days Now You Know Excel Worksheet Functions 0 October 16th 08 05:49 AM
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Excel Worksheet Functions 1 June 4th 08 02:21 PM
Custom Tool Bars - Restoration or Saving FARAZ QURESHI Excel Discussion (Misc queries) 1 February 6th 08 11:27 PM
Menu items added with menu item editor in older versions Michael Hoffmann Excel Discussion (Misc queries) 2 January 7th 05 01:40 PM
Adding a menu item right click menu when clicking on a single. Andoni[_28_] Excel Programming 0 September 2nd 04 10:23 PM


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