adding a menubar to a userform 
Author Message
 adding a menubar to a userform

How is it done? I have no problems adding menubars and commandbuttons to
Outlook itself, but I'd like to add a menubar to a userform that I've
created, and I can't figure out how.
I'm using Outlook 2000, VBA with Office Developer Tools.

Please help

Thanks



Fri, 06 Jun 2003 17:20:13 GMT  
 adding a menubar to a userform
Forms don't have menus. Inspectors and Explorers have menus. One possibility
is to include code in the Open event of your form that checks for a
particular menu and makes it visible if it's present and, if not, creates
it.

--
Sue Mosher, Outlook MVP
Author of
     Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
     Microsoft Outlook 2000 E-mail and Fax Guide
Outlook and Exchange solutions at http://www.slipstick.com


Quote:
> How is it done? I have no problems adding menubars and commandbuttons to
> Outlook itself, but I'd like to add a menubar to a userform that I've
> created, and I can't figure out how.
> I'm using Outlook 2000, VBA with Office Developer Tools.

> Please help

> Thanks



Fri, 06 Jun 2003 21:12:42 GMT  
 adding a menubar to a userform
thank you. Then I'll be using a toolbar.



Quote:
> Forms don't have menus. Inspectors and Explorers have menus. One
possibility
> is to include code in the Open event of your form that checks for a
> particular menu and makes it visible if it's present and, if not, creates
> it.

> --
> Sue Mosher, Outlook MVP
> Author of
>      Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
>      Microsoft Outlook 2000 E-mail and Fax Guide
> Outlook and Exchange solutions at http://www.slipstick.com



> > How is it done? I have no problems adding menubars and commandbuttons to
> > Outlook itself, but I'd like to add a menubar to a userform that I've
> > created, and I can't figure out how.
> > I'm using Outlook 2000, VBA with Office Developer Tools.

> > Please help

> > Thanks



Fri, 06 Jun 2003 23:53:03 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. add a menu separation bar to a custom menubar

2. Programatically Add Button To Menubar

3. Add an item to MenuBar on newDocument

4. Can you add these controls to the menubar?

5. How to add Icon/Pics to menubar

6. Adding a menubar to a coolbar (VB6)

7. adding to menubar

8. Cannot add code to a control on a UserForm

9. error in adding item to combobox in userform

10. Can I add menu items to my Userform?

11. Add right click context menus to UserForm

12. Add textbox to userform

 

 
Powered by phpBB® Forum Software