|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Execute a Sub OR routine or macro based on multiple user choices from a dropbox
Hi,
I have this scenario where I need to run macros or methods or routines when a user selects multiple choices from a dropbox (does VBA suppoort multiple selections?) and run them accordinly: Private Sub ComboBoxPickLetters_DropButtonClick() comboboxPickLangs.List = Array(a, b, c, d, e) ' Then user selects options b, c and e from the dropbox ' How can go about running those options b, c and e selected by user? ' Is Case statement a solution? Case a run a Case b run b Case c run c Case d run d Case e run e ' Or do I need a loop in order to run b c e choices? Thanks |
#2
|
||||
|
||||
What sort of 'drop box'?
Active X? Userform Combo Box? Content Control? Form Field?
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Tags |
combobox, selections, user |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need macro for automatic point value insertion based on the number of answer choices selected | ganesang | Word VBA | 31 | 08-12-2018 10:19 PM |
Need macro for automatic point value insertion based on the number of answer choices selected | ganesang | Word | 1 | 07-31-2018 06:07 AM |
Macro to replace text and track changes based on user-defined rules | Thefirstfish` | Word VBA | 13 | 01-09-2016 07:14 AM |
Populate a table based on choices from drop down menu | Xaand | Word VBA | 0 | 02-25-2014 11:08 AM |
Macro or routine required | evanhughes | Outlook | 0 | 11-18-2011 02:56 AM |