Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change validation will run macro?

Status
Not open for further replies.

pruleone

Technical User
Apr 14, 2009
74
EE
Hy,

is it possible to force macro run when I use validation in excel sheet?

 



Hi,

There is no event associated with Data Validation.

What are you attempting to do?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
I need to update data only one place and there isn't any other menus, to change or where to write any thing so I thought maybe there is a possibility to run macro only when I choose somekind of possibility from data validation.

But is there possibility to force macro run when I choose some surtein worksheet?

If there isn't any possibilities I can always make some kind of button. But if it is possible to make macro run automaticly then it would be better solution for me.
 
force macro run when I choose some surtein worksheet
You may consider the Workbook_SheetActivate event procedure in the ThisWorkbook module.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 



If you actually make a CHANGE to a value, via Data Validation or any other method, the WorkSheet_Change event fires, but it had NOTHING to do with Data > Validation..

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Thank you all,

as my workbook has one button to update data from internet then I put link update command also under that button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top