Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default not able to assign macro

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default not able to assign macro

Data Validation will only allow single selections. Use an Control ToolBox
ListBox and set the MultiSelect Property
http://www.ozgrid.com/VBA/multi-select-listbox.htm




--
Regards
Dave Hawley
www.ozgrid.com


"TripMom" wrote in message
...
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.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default not able to assign macro

Dave

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

Never say never.


Gord Dibben MS Excel MVP

On Tue, 27 Apr 2010 09:16:47 +0800, "ozgrid.com" wrote:

Data Validation will only allow single selections. Use an Control ToolBox
ListBox and set the MultiSelect Property
http://www.ozgrid.com/VBA/multi-select-listbox.htm


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default not able to assign macro

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.

TripMom wrote:

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.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default not able to assign macro

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

On Mon, 26 Apr 2010 16:13:02 -0700, TripMom
wrote:

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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assign Macro SUE M Excel Discussion (Misc queries) 1 September 22nd 07 09:00 PM
Assign a Macro The Rook[_2_] Excel Discussion (Misc queries) 5 February 19th 07 06:53 PM
Assign Macro David Excel Worksheet Functions 1 October 9th 06 03:31 AM
Assign Macro to tab superkopite Excel Discussion (Misc queries) 1 February 7th 06 09:42 PM
Assign a Macro Pendelfin Excel Discussion (Misc queries) 1 January 10th 06 11:35 PM


All times are GMT +1. The time now is 05:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"