Using Data Validation on cells with formulas

andrewb90

Well-known Member
Joined
Dec 16, 2009
Messages
1,077
I am using Data validation on a group of cells to make a popup appear if cell M3 is not valued between 1-5. Now Data validation will not occur since M3 gets filled in automatically from another worksheet.
Can I make some sort of macro button that will go around this problem?

My original idea is to have the macro when clicked:
Unprotect the worksheet
unhide row 3
click on cell M3 (and if necessary retype the formula in it)
rehide row 3
and hide an image on the page using the image name
then reprotect the worksheet

Would this work to satisfy the the data validation issue that seems to occur for me?

Any thoughts or suggestions on this issue would be greatly appreciated.

- Andrew
 

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.

Forum statistics

Threads
1,224,590
Messages
6,179,753
Members
452,940
Latest member
rootytrip

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