Results 1 to 2 of 2

Thread: MsgBox Problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2003
    Location
    Vb Forums
    Posts
    226

    MsgBox Problem

    Ok below is my message box code:
    VB Code:
    1. MsgBox("No file loaded!", vbExclamation + vbYesNo, "No file") = vbNo

    What I wan is a message box with exclamation and and ok button that just continues the origram so what would the correct code be? Thanks for your help and I appreciate it very much
    Thanks For The Help Guys

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    A message box always requires some response (a button click) by the user, so if you just want to display a message that requires minimal response then do this

    MsgBox "No file loaded!", vbExclamation, "No file"

Posting Permissions

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



Click Here to Expand Forum to Full Width