Create Message Box if Cell not empty

Craig13_13

New Member
Joined
Apr 9, 2009
Messages
21
Hi

I would like an error check message box, basically if a particular cell is blank I would like the code to continue as normal, if it has a value in it I would like the message box to display that value and the code not to continue.

Thanks very much!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi

I have an error check column (W) which gives our own error codes based on certain criteria. There is then an If statement in cell W6 which produces a value based on the errors that appear in Column W. I would like a message box to appear with whatever is written in W6 and the macro not continue, however if W6 is returning blank I would like the rest of the macro to proceed as normal.

Thanks very much
 
Upvote 0

Forum statistics

Threads
1,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

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