Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

how do you use

Forum home » Delegate support and help forum » Microsoft Excel Training and help » How do you use a drop down list value to trigger a macro

How do you use a drop down list value to trigger a macro

ResolvedVersion 2010

Ryan has attended:
Project Intro Intermediate course
Excel Intermediate course
Excel Advanced course

How do you use a drop down list value to trigger a macro

how do you use a drop down list value to trigger a macro

RE: how do you use a drop down list value to trigger a macro

Hi Ryan

Thanks for getting in touch. I assume you mean a drop-down list derived from Data Validation. You can't cause a macro in the standard way, you will need to trigger a Worksheet_SelectionChange event.

This can be quite an involved procedure that should be handled with care, so if there is an alternative I would recommend that. For example design a VBA userform with appropriate macros, or trigger a standard function instead. The standard Excel controls do not work well with macros without a bit of effort.

If you provide a bit more detail on what you want it to achieve, we may be able to suggest an alternative.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: how do you use a drop down list value to trigger a macro

Thanks Gary.

Excel tip:

Display Functions on Worksheets

Functions in Excel can be difficult to recall their format/syntax

For example, you want to use the =PMT function.

Enter =PMT, then select keystroke, CTRL+SHIFT+A.

This usful memory jog, will display the arguments of a function on a worksheet, allowing the user to proceed with the generation of the function



View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.