View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default command button and the "enter" and "tab" keys

This is in a userform (with the VBE), right?

If yes, go to the VBE
select your userform
select the ok button
hit F4 to see the properties

Look for the Default property and change it there.




dr chuck wrote:

In my command button properties there is no "default" property. I dont see
the "defualt" property in the object browser either?

Where are these located?
--
dr chuck

"Norman Jones" wrote:

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





--

Dave Peterson