Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Connecting macro from validating dropdown list

A file I'm working on have several dropdown lists created by using the
validating option from the data menu. I haven't the possibility to change
this, its a file that is created automatically and will be recreated from
time to time which make such a change impossible to implement.

What I need to do is create a macro in an addin that is triggered if there
is a change in one of those dropdownlists. The lists contain only the words
Yes and No and I know where the cells containing the lists are located so it
shouldn't be hard but I'm not used to working with VBA lately.

I have a VBA sub which does what I want depending on the value from the cell
but how do I get the sub to be called?

Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Connecting macro from validating dropdown list


Use the intersect method in the worksheet_change event


--
The Code Cage Team

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
The Code Cage Team's Profile: http://www.thecodecage.com/forumz/member.php?userid=2
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=35914

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
Help with Macro - Make Dropdown List Temporarily Wider AK9955 Excel Discussion (Misc queries) 2 April 27th 07 03:16 PM
Connecting of two data validating with each other Akhil Excel Worksheet Functions 1 August 10th 06 09:01 PM
result of selecting from the dropdown list should be a dropdown list No News Excel Worksheet Functions 0 July 5th 06 04:09 PM
How do I trigger a macro by selecting from a dropdown list? Modell Excel Programming 3 April 26th 06 05:03 PM
dropdown list to activate Macro Brad Excel Programming 6 May 25th 05 08:35 PM


All times are GMT +1. The time now is 11:47 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"