vba newbie question...


Posted by rm on December 27, 2001 12:31 PM

hello,

I have made a userform that opens when a workbook is opened, and I would like to know how to set the "default highlighted button" when the userform opens. In other words, there is a "yes" button and a "no" button on the form and I would like to know how to set the "no" button as "selected." (The form I made has the "yes" button selected by default.)

thanks for any help...rm

Posted by Juan Pablo G. on December 27, 2001 12:40 PM

When you're in Design mode, put the "Default" property of the Yes button to TRUE.

Juan Pablo G.



Posted by rm on December 27, 2001 12:44 PM

...so simple!

thank you!

When you're in Design mode, put the "Default" property of the Yes button to TRUE.