View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Eqbal Vkilzadeh Eqbal Vkilzadeh is offline
external usenet poster
 
Posts: 3
Default Working with text boxes!!

Hi,

I have created a form in which there are three textboxes. I have added
some conditions to these textboxes which are triggered by exit event. Now
when the user enters a wrong data into the textbox a message box pops up
and instructs the correct info that should be entered into the box.
Everything seems well so far, unless what I need to happen next is the
contents the textbox in which we have the incorrect data to be selected
and the user wouldnt have to do it by pushing some extra unnecessary key
strokes. I thought by setfocus property this could be done. But it did not
work. Now could anyone tell me if there is an alternative way.

TNx,
eqbal

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/