Determine the value from a Data Validation List in VBA

OmarFKH

New Member
Joined
Apr 4, 2018
Messages
1
Hello everyone ,
i have been trying to find a solution for my problem but it is really wierd because i found no solution.
so here is my problem : i have a whole column in which every cell have a Data validation list. So in Vba i am making a For loop to compare the value selected in those cells with another value in another worksheet . The BIG problem is that the cells with data validation list have no value in vba !
What should i do ?? i hope you find me a solution!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If you selected a value from data validation drop down list then VBA should see that value. If you do not and only have a blank cell then VBA sees it as an empty cell. It would be helpful if you post your code.
 
Upvote 0

Forum statistics

Threads
1,216,213
Messages
6,129,550
Members
449,516
Latest member
lukaderanged

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top