View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default default = vbNo in Msgbox

rep1 = MsgBox("Would you like to add a line?", vbYesNo+vbDefaultButton2)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Alex St-Pierre" wrote in message
...
Hi !
Does anyone know how to have vbNo button selected by default when the

Msgbox
open ?
rep1 = MsgBox("Would you like to add a line?", vbYesNo)
Thanks !
--
Alex St-Pierre