View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson[_5_] Dave Peterson[_5_] is offline
external usenet poster
 
Posts: 1,758
Default messagebox without default button

Maybe just a small userform would be in order.

(I couldn't remove the default from all of the buttons.)

Peter Janssens wrote:

Hi,

Is it possible to create a messagebox without a default button?

For example: MsgBox "hallo", vbOKCancel + vbDefaultButton2 makes the
Cancel-button default. I would like to have that none of the two buttons are
default. The user has to click on it (not by pressing Enter).

Thanks.
Peter


--

Dave Peterson