Link to home
Start Free TrialLog in
Avatar of Mattie Owens
Mattie Owens

asked on

Run Macro from Content Control Drop Down List in Microsoft Word

Microsoft Word VBA

I'd like to run a macro based on the selection from a control content drop down list. Is this possible.

If not, how do I copy the content to another cell, and maybe run the macro based on the new cell value.
Avatar of Norie
Norie

Mattie

Is it one macro that is executed when the selection changes or are there multiple macros and you want to determine which to call/run based on what's been selected?
Avatar of Mattie Owens

ASKER

Its a couple

If its orange run macro 1
if its blue run macro 2
if its green run macro 3
else do nothing
is it possible
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How do I determine what the control number is? Do I place the code in a regular module
Okay it works except that it runs before I even make a selection
Are you saying that you want the macro to start when you have changed the selection?
Once I understood it. It worked perfectly.