View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default command button and the "enter" and "tab" keys

Hi Dr. Chuck,

Try setting the CommandButton's Default property to true



---
Regards,
Norman



"dr chuck" wrote in message
...
I have an extensive macro that works when my command button titled
" Private Sub registrationcomplete_Click() " is clicked.

I have a series of text boxes that are programmed to tab to the next text
box and ultimately to the command box in question. When this series of
textbox's and tabs get to the command box the command box is highlighted.

I would like to be able to activate the command box by either clicking on
it
or pressing enter since it is already highlighted.

I am not sure if the command to allow entering to activate the command box
can be entered into the "click" macro above or if a separate macro must be
written?

Suggestions?
--
dr chuck