Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default messagebox without default button

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







  #2   Report Post  
Posted to microsoft.public.excel.programming
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
To show a messagebox pol Excel Discussion (Misc queries) 3 July 17th 09 01:05 PM
set default font color button Lance in California Excel Discussion (Misc queries) 0 May 28th 09 06:13 PM
MessageBox with tick box Sophie Excel Discussion (Misc queries) 3 February 5th 09 02:32 PM
Printing messagebox nc Excel Discussion (Misc queries) 1 March 22nd 05 02:49 PM
Working around a messagebox JustinR Excel Programming 1 May 26th 04 01:53 AM


All times are GMT +1. The time now is 06:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"