How to add a Custom menu TAB for Seperate work book

selvamariappan

New Member
Joined
Feb 16, 2012
Messages
39
Dear all,

Can any one help me on this, :(

I need to add a own menu tab and its option or button for seperate work book which should not be visible in other workbook.

FYI : I am using excel 2010 and the excel file is macro enabled file(.xlsm)

Please help me on this.Its urgent.:confused:

Regards,
Selva.C
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
hello,

yes i have posted the same problem in that link also for getting quick answer,

this is not a cross posting,

I am in need of urgent answer, so only i posted it ,

Please help me with a code
 
Upvote 0
Yes I agree , Its my mistake , henceforth i wont post the same in two areas.

I have tried the code as below

Private Sub Workbook_Open()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Nokia"",True)"
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Nokia"",False)"
End Sub

But its the menu is not hiding,

Kindly request you to help to hide the menu.
 
Upvote 0
Your menu is a tab, not a commandbar or toolbar. You need to use the getVisible callback as explained on Ron's site.
 
Upvote 0
Thanks for your information.

finally i have created a menu for single workbook,

it contains sub module.earlier i have write my macro code in my excel objects under in a particular sheet.

now when i call that into my module it showing error as

Sub or Function not defined

i have put my function as public in microsoft excel objects in sheet 2,

but i need to call in module which is not able, please help this alone.
 
Upvote 0

Forum statistics

Threads
1,215,639
Messages
6,125,968
Members
449,276
Latest member
surendra75

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
Back
Top