Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
TextBox focus
Sheet1.TextBox1.Activate
-- Regards, Tom Ogilvy "René" wrote in message ... Hi! I'm validating a TextBox, if there is no data, then a MsgBox pop up telling the user what they need to do. What I would like to happen after they click the "OK" of the MsgBox is the cursor be placed in the TextBox. Here is part of my code: If Sheet1.TextBox1.Value = "" Then MsgBox "Please enter a name" Sheet1.TextBox1.SetFocus End If Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Textbox focus lost | Excel Programming | |||
TextBox Focus | Excel Programming | |||
event which occurs when a TextBox receives focus | Excel Programming | |||
Which textbox have focus? | Excel Programming | |||
UserForm TextBox to ActiveSheet TextBox over 256 characters | Excel Programming |