Free for PREMIUM members
Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium
Sub MyControl_BeforeUpdate(Cancel As Integer)
If Instr(1, Me.MyControl.Text, " ") > 0 Then
Msgbox "You cannot enter spaces"
Cancel = True
Open in new window
We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!