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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,702
Messages
6,173,936
Members
452,539
Latest member
delvey

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