Certain cells to be entered before my userform can be triggered.

danbates

Active Member
Joined
Oct 8, 2017
Messages
377
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have a form that works in rows and row 5 is the first row with a clean in.
I have 3 different types of cleans and they are determined by what letter is in column B.
I want different cells to be entered within the cleans before the userform in column AP can be triggered.

Cleans are determined by A, B and C.

[TABLE="width: 200"]
<tbody>[TR]
[TD]Column B
[/TD]
[/TR]
[TR]
[TD]Type of clean
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[/TR]
</tbody>[/TABLE]

and so on.

Here are the columns I would like to be entered before the userform can be triggered:

Clean A = E, M, AE.

Clean B = E, M, O, U, AE, AG, AM.

Clean C = E, G, I, K, M, O, Q, S, U, Y, AA, AC, AE, AG, AI, AK, AM.

I'd like a message box to alert them if they have missed one or more of the cells.

I hope this makes some sort of sense and any help would be much appreciated.

Kind Regards

Dan
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,223,952
Messages
6,175,593
Members
452,654
Latest member
mememe101

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