View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Craigm[_43_] Craigm[_43_] is offline
external usenet poster
 
Posts: 1
Default CmdButton - How to make button it the default button?


I have three buttons on a form I want one button (cmdFind) to activate
when the enter key is pressed. I have two text boxes that can have
data entered into them.

The three buttons: cmdFind, cmdClear and cmdClose.
The two text boxes: txtPlate and txtModel

I enter a license plate number in a text box or a vehicle model in a
different text box. When I put data into either box and hit enter I
want to activate the cmdFind command button.

Many thanks....the grey cells have failed me!

Craig


--
Craigm
------------------------------------------------------------------------
Craigm's Profile: http://www.excelforum.com/member.php...o&userid=24381
View this thread: http://www.excelforum.com/showthread...hreadid=516179