MENU BAR

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,124
I know this has been brought up time and time again but I thought I would ask if someone could tell me how I hide the menu bar (i.e. File, Edit, View etc)

I can't locate it's name...

Cheers and all that!
Luke
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Luke

Application.CommandBars("WorkSheet Menu Bar").Enabled = False

I have had problems using the "Visible" property as opposed to the "Enabled" property.

Tom
 
Upvote 0
On 2002-09-19 02:10, TsTom wrote:
Luke

Application.CommandBars("WorkSheet Menu Bar").Enabled = False

I have had problems using the "Visible" property as opposed to the "Enabled" property.

Tom
Hi Tom,

I have done it as you say.
But now I can't see the icon of excel,so I can't call my code by opening workbook.
What to do to keep the icon of excel?
Thanks
 
Upvote 0
Hi Verluc.
I don't understand what you mean by calling your code? I think the Excel icon cannot be moved. So if you disable the Menu Bar, the icon goes bye bye. If you are having trouble getting into the VBE, press ALT-F11 or right click on any worksheet tab and choose "View Code". Please explain further if I did not guess what your problem was.
Tom
 
Upvote 0
On 2002-09-19 02:31, TsTom wrote:
Hi Verluc.
I don't understand what you mean by calling your code? I think the Excel icon cannot be moved. So if you disable the Menu Bar, the icon goes bye bye. If you are having trouble getting into the VBE, press ALT-F11 or right click on any worksheet tab and choose "View Code". Please explain further if I did not guess what your problem was.
Tom
Hi Tom,

Thanks for your time.
Yes I can see the code of the worksheet,following your way, but I can not see my code who are in "Workbook Open"
I had placed your code in Workbook Open and now I can not call this code.My problem: how can I see the code in Workbook Open?
With pressing the icon I could choose : This workbook,but now I have can't see the icon.
 
Upvote 0
Ok, I see.
In the VBE, use your project explorer to work in the various modules. Click on "View", "Project Explorer". A docked window should appear listing the various objects in your project. Double-click "This Workbook" to view the code listed in that module. There should be a "Project Explorer" icon on the "Standard" toolbar as well. I do not know the shortcut key, but I assume that there is one.

Tom
 
Upvote 0
On 2002-09-19 03:00, TsTom wrote:
Ok, I see.
In the VBE, use your project explorer to work in the various modules. Click on "View", "Project Explorer". A docked window should appear listing the various objects in your project. Double-click "This Workbook" to view the code listed in that module. There should be a "Project Explorer" icon on the "Standard" toolbar as well. I do not know the shortcut key, but I assume that there is one.

Tom
Million thanks Tom.It works.
 
Upvote 0

Forum statistics

Threads
1,224,884
Messages
6,181,564
Members
453,053
Latest member
Kiranm13

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