View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
simon simon is offline
external usenet poster
 
Posts: 21
Default Single message box for multiple IF statements

I have three separate IF statemnts. Currently when they
are true, the following code is executed:

First IF statement

MsgBox "Please enter a Client Name"
Cancel = True

Second IF statement

MsgBox "Please enter a Sub Client"
Cancel = True

Third IF statement

MsgBox "Please enter a File Barcode"
Cancel = True


This produces three message boxes.

Is it possible to have one message box that shows the
statements that are true.