Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Yes/No Msgbox default to 'No'? 2

Status
Not open for further replies.

utc13

Programmer
Oct 25, 2001
43
US
When I prompt a user with a 'Yes/No' message box is there any way for the default to be set to 'No'?
 
Try this

Response = Msgbox(msg, vbYesNo + vbDefaultButton2, "Title")


That should work


Bob [surprise]

 
Bob,

Several months after you posted this I found it exactly what I was looking for. Saved me hours pouring over books. Have a star
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top