Menus on a User Form

B

Brian Stigler

Can you put menus on a user form? I'm guessing no... but just wondering if
anyone has come up with a slick way to accomplish something like this.

Thanks
 
M

Mick

Brian,
You might enjoy playing with this that hides the active
menu bar and replaces it with a temporary menu bar that's
docked along the right side of the application window and
protected from the user:

Set oldMbar = CommandBars.ActiveMenuBar
Set newMbar = CommandBars.Add _
(Name:="newMenubar", Position:=msoBarRight, _
MenuBar:=True, temporary:=True)
With newMbar
.Visible = True
.Protection = msoBarNoMove
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top