How do I reverse this code??

  • Thread starter Thread starter nrage21
  • Start date Start date
N

nrage21

This code loses focus of textbox when user types and presse
commandbutton1

Private Sub CommandButton1_Click()
Me.TextBox1.Enabled = CBool(Me.TextBox1.Value = "")
End Sub

Using Commandbutton2.... how do I reverse this code???

Private Sub CommandButton2_Click()
??????????????????????????????
End Sub

-Larry-
VBA Amateu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

wrong font 4
Windows startup 3
Run time error message???....Help!! 12
Textbox to show date 2
Userform problem (Listindex) 1
Why is this code not working ? 3
find the next empty row 2
list box 2

Back
Top