how do you use

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

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

resolvedResolved · Low Priority · Version 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:

Printing spreadsheets without opening them first

Here's a fast way of printing a spreadsheet from Windows Explorer/My Computer.

Go to the location where the spreadsheet is saved on your computer, then right-click on the icon next to the document and select Print from the menu.

The spreadsheet will automatically open, print and close itself.

View all Excel hints and tips


Server loaded in 0.09 secs.