VBA: When conditions are met, a message box will pop up

JennV

New Member
Joined
May 9, 2019
Messages
34
Sheet1:
1Cat2019-05-21Error... This, this, and this
2Dog2019-05-21Error. This, this, and this
3Mouse2019-05-25In order - that, that, and that
4Fish2019-05-26Where, when, why, and how

<tbody>
</tbody>

Sheet2:
52019-05-22Dog...
62019-05-22Fish...
72019-05-22Mouse

<tbody>
</tbody>

Sheet1 is my database while Sheet2 is where the user inputs data. Since there is Mouse and in the comments, it mentions 'In order', is there a way to generate a message pop up when the user tries to input comments for Mouse on Sheet2: "Note: Mouse has been previously input with 'In order'." but still allows the user to continue inputting their comments after closing that pop up? On the contrary, if Mouse had been previously input and the comments didn't mention 'In order', the pop up won't show up.

I know how to generate a userform in VBA but I'm still a beginner. I'm not sure if what I'm trying to do is possible...

Any help or guidance will be much appreciate, thank you in advance!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,214,936
Messages
6,122,340
Members
449,079
Latest member
rocketslinger

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