View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mikhail Mikhail is offline
external usenet poster
 
Posts: 9
Default event which occurs when a TextBox receives focus

When my text box receives focus, what event occurs?
I need this to be able to undo user's changes.

Dim OldValue as String
'when TextBox receives focus
OldValue = TextBox1.Text
'when user decides to discard changes
TextBox1.Text = OldValue

Thanks in advance,
Mike510