Enable Menu Items in Excel - Save ME

vijay2482

Board Regular
Joined
Mar 3, 2009
Messages
142
hi all,

i was trying to disable menu items in the menubar of excel.
i have disabled save,save as from file menu and cut,copy,paste from edit menu and the save icon in toolbar......
the disable was working fine...

now i was allthese items to be activated...
so i changed the code but im not able to do it.

what should i do to reactivate them again??
i have deleted those code from the module but even then ithe items are not activated.

please help...

without those items,i cannot continue my work
please save me...........

thanks in advance
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

xld

Banned
Joined
Feb 8, 2003
Messages
5,378
Quick way

Code:
Application.Commandbars("Worksheet Menu Bar").Reset
 

vijay2482

Board Regular
Joined
Mar 3, 2009
Messages
142
thanks a lot..
i dont know how to explain my gratitude to you..
if i did not get the solution,my entire work would have been spoiled....
thank you very much........


make me understand:
normally the menuitem should be active in excel.
i have deactivated in only one excel file, but why it has been deactivated in the entire excel environment???
should i have this code always in my excel macro for the menu items to be active always?

if i remove that particular code from the macro in my one excel file, the menu items are deactivated again.
what is the reason for it???
how to solve this issue???
i want to deactivate the menu item in only one particular file and not in the whole excel environment...
please give an apt solution...

thanks once again
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,130,119
Messages
5,640,219
Members
417,131
Latest member
Seanr19871

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top