D
Douglas J. Steele
If MsgBox("This is the first line" & vbCrLf & "This is the second line"",
vbYesNo) = vbYes
To add the icons, you add values to the vbYesNo flag. Use vbQuestion for the
question mark icon, vbCritical for the error icon, and vbInformation for the
exclamation mark icon:
If MsgBox("This is the first line" & vbCrLf & "This is the second line"",
vbYesNo + vbQuestion) = vbYes
If you're using Access 2000 or newer, check
http://www.trigeminal.com/usenet/usenet015.asp at Michka's site for how to
get bold lines in the message box. If you're using Access 97, check "@
(message box section separator)" in the Help file. I'm not sure whether it
was available in previous versions to 97.
vbYesNo) = vbYes
To add the icons, you add values to the vbYesNo flag. Use vbQuestion for the
question mark icon, vbCritical for the error icon, and vbInformation for the
exclamation mark icon:
If MsgBox("This is the first line" & vbCrLf & "This is the second line"",
vbYesNo + vbQuestion) = vbYes
If you're using Access 2000 or newer, check
http://www.trigeminal.com/usenet/usenet015.asp at Michka's site for how to
get bold lines in the message box. If you're using Access 97, check "@
(message box section separator)" in the Help file. I'm not sure whether it
was available in previous versions to 97.