Hi Folks,
Please help me with a code to add data validation automatically from sheet "DropList" based on matching column header.
I have attached the work book what I am trying to accomplish.
Thanks in advance.
Joshi
Hi Folks,
Please help me with a code to add data validation automatically from sheet "DropList" based on matching column header.
I have attached the work book what I am trying to accomplish.
Thanks in advance.
Joshi
Last edited by krjoshi; 04-11-2017 at 11:45 PM.
Cheers,
Joshi
Being with a winner makes you a winner
Something like this
Please Login or Register to view this content.
Thanks,
Mike
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
Hi Mike,
Thanks for your time and help. Please be informed that the code is not working. Could you plesse advise to fix the issues.
Many thanks,
Joshi
What do you mean by not working so I can advise how to fix? Code works on the example workbook that you have uploaded.
I am really sorry Mike.
Its working..... i was copying the code to wrong sheet.. great code. Thanks a lot for your help.
Joshi
Hi krjoshi,
I don't think you need VBA to do what I think you want. I've created a bunch of DNR (Dynamic Named Ranges) on your lists sheet and used them as data validation on your second sheet. See if this works the way you want. You can add stuff to your lists and it will automatically show up when you do data validation. Look at Formula Tab -> Named Ranges to see the names and the Data Tab -> Data Validation to see what I've done.
DataValidationDNRs.xlsm
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Hi MarvinP,
Great.... thank you so much for your valuable advice and support. Many many thanks.
Joshi
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks