How to mandate text box in user form

kolimukesh

New Member
Joined
Sep 19, 2019
Messages
1
Dear I have an user form i want to mandatory text box (No. 3) please help

Private Sub TextBox1_Change()[W11] = Me.TextBox1.Value
End Sub


Private Sub TextBox2_Change()
[W12] = Me.TextBox2.Value
End Sub


Private Sub TextBox3_Change()
[W13] = Me.TextBox3.Value
End Sub


Private Sub TextBox4_Change()
[W14] = Me.TextBox4.Value
End Sub


Private Sub TextBox5_Change()
[AA10] = Me.TextBox5.Value
Me.TextBox5.Enabled = Me.CheckBox1.Value
End Sub


Private Sub TextBox6_Change()
[AA11] = Me.TextBox6.Value
Me.TextBox6.Enabled = Me.CheckBox
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
How is the user quitting the userform?
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

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