+ Reply to Thread
Results 1 to 2 of 2

default = vbNo in Msgbox

  1. #1
    Alex St-Pierre
    Guest

    default = vbNo in Msgbox

    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

  2. #2
    Bob Phillips
    Guest

    Re: 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" <AlexStPierre@discussions.microsoft.com> wrote in message
    news:6AB4778A-A2DD-42B8-B0D7-F70473D09CCF@microsoft.com...
    > 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




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1