not able to assign macro

T

TripMom

I've created a drop down list with Data Valuation and would like to allow
multiple selections. I used the macro on contextures.com to create the
macro, however, when I return to the sheet right click, assign macro isn't an
option and running it doesn't work either. I'm on Excel 2007 and the much
loved Vista Home 64. Thanks in advance for your help.
 
D

Dave Peterson

If you look at Debra's macro once more, you'll see that her macro isn't assigned
to the object. It's a worksheet event.

This kind of code goes into the worksheet module that needs the behavior.

Rightclick on the sheet tab that needs the behavior, select view code and paste
her (modified???) code in that code window that is on the right.

If you still have trouble, post your code and some more details. Or post a link
to Debra's macro. It'll make it easier for anyone to help.
 
G

Gord Dibben

Have you downloaded the sample workbook Debra provides?

In that workbook she shows several different ways to combine the selections.

You do not "run" the code. As Dave points out, it is event code and runs
when you make a change in a dropdown.


Gord Dibben MS Excel MVP
 
G

Gord Dibben

Dave

With Debra's event code you can get multiple selections from a DV dropdown.

Never say never.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top