Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default USERFORM and MENU

I would like to know that USERFORM in VAB can add pulldown menu such as File, Edit, Tool, etc. Please anyone let me know. Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default USERFORM and MENU

Hi CHANON,
How about add Microsoft Toolbar Control from right click the toolbox?
But it is not like a Menubar. I have made a form with menubar as a
com-add-in but to do that, I think need VB or MsOffice proffesional.


--
Kind Regards
Colo
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Colo of 'The Road of The Cell Masters' :)

URL:http://www.interq.or.jp/sun/puremis/...astersLink.htm


/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


"CHANON" wrote in message
...
I would like to know that USERFORM in VAB can add pulldown menu such as

File, Edit, Tool, etc. Please anyone let me know. Thank you

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default USERFORM and MENU

Since a userform is part of the Excel app, the thinking
is that you don't need a userform menu. Why, because you
already have TOTAL control over excel's menus.

However, you can use a workaround. Ass a Combo box with
the correct labels in the list then process the On click
event....

Option ExplicitPrivate Sub cbMyMenu_Change()
Run cbMyMenu.Value
cbMyMenu.ListIndex = 0
End Sub
Private Sub UserForm_Initialize()
cbMyMenu.RowSource = "sheet2!MyMenu"
cbMyMenu.ListIndex = 0
End Sub


The form's initalise method reads the menu list from a
named range on my worksheet - make it easy to edit - and
sets the first item (zero based) in the list. The range
is two columns. The first column is the menu item and the
second is the name of the procedure to be run.

the combobox is set to two columns, the second is hidden
and the bound column is set to two also.

Each time an item is selected, the change event fires,
the change event code "runs" the value of the
combo....since this is the proc name, it runs the
required code.

Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
I would like to know that USERFORM in VAB can add

pulldown menu such as File, Edit, Tool, etc. Please
anyone let me know. Thank you
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default USERFORM and MENU

You have received some suggested workarounds, but to answer your specific
question, there is no direct support for it as there is in VB forms.

--
Regards,
Tom Ogilvy

"CHANON" wrote in message
...
I would like to know that USERFORM in VAB can add pulldown menu such as

File, Edit, Tool, etc. Please anyone let me know. Thank you


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Excel Worksheet Functions 1 June 4th 08 02:21 PM
filter dropdown menu so 2nd drop menu is customized menugal Excel Worksheet Functions 1 September 4th 07 05:25 PM
Create Dropdown menu without using the Validation on the Data Menu lostinformulas Excel Worksheet Functions 0 July 13th 06 08:47 PM
Menu items added with menu item editor in older versions Michael Hoffmann Excel Discussion (Misc queries) 2 January 7th 05 01:40 PM
pull down menu on userform Tom Ogilvy Excel Programming 4 August 13th 03 12:49 AM


All times are GMT +1. The time now is 09:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"