hi,
i have listbox created through data validation.
i need a macro to run when a change in the validated listbox occurs.
note:we cant do this with worksheet change event
can anuone help me on this??
hi,
i have listbox created through data validation.
i need a macro to run when a change in the validated listbox occurs.
note:we cant do this with worksheet change event
can anuone help me on this??
Regards,
Satzz.
Hi, SathishKumar,
The only other way I know is to link the cell to another one, use something like NOW() in another cell and use the Worksheet_Calculate. But my favourite would always be the Worksheet-Change. But even better would be not to use Data/Validation but a ComboBox instead and attach the macro to that (I would prefer the one from the Toolbox for the events available).note:we cant do this with worksheet change event
Ciao,
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
Caio,
I dint get you..
Can you pls elaborate on this??
Thanks.
Hi, SathishKumar,
for example your Data/Validation is in B2, put a formula in B3 referencing that cell:
If the Calculate-Event wonīt get fired on that enter another formula in B4Please Login or Register to view this content.
If calculation is set to automatic this will fire on any change of a formula in a cell.Please Login or Register to view this content.
Iīm really interested of why you state that the Worksheet_Change-Event canīt be used - if any other procedure is started from that code for Data/Validation can be implemented there.
Ciao,
Holger
caio,
i'm giving u the full requirement
i have attached the excel sheet.
In that, column 1 has a data validation list.
when i change the list value to h, and if it has empty value in the next 3 columns.
then it should give me a message.
i need this when a new change occurs in the validation list.
could you help me in this..
thanks...
maybe so
Please Login or Register to view this content.
nilem,
you r so great..
this is the apt one i needed.
Thanks for this...
but can you explain this...As i dont have deep knowledge in this..Can you/?
thanks a lot.
Ok, I'll try to comment on your words
Please Login or Register to view this content.
Thank you so much..
its hard to understand for me.coz i'm a beginner.
but i'll try to learn this..
i'll make this as solved.
thanks again.
@nilem,
Below Qns for u::
For the above condition,
i need to update the color of the cell to blue if the next three values were empty.. i tried this but getting an error..
And one more silly doubt.. In the above code why endif is not provided for IF condition??
if you have any materials regarding this pls share with me..
Thanks.
Hi Satzz. "End If" not required for single-line If...Then, for example
try itPlease Login or Register to view this content.
You can also use conditional formatting (see Sheet2 in attached file)Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks