MsgBox Help

S

Syd

Guys,

Since I'm new at this sort of thing I forgot how to
continue a line of text in a MsgBox. Here's the
line:intUserResponse = MsgBox("Do You Really Wish To
Delete The Selected Data? Once It's Deleted, It Will Be
Purged From The Database.", conBtns)

I know that there is a (Chr(13)) & "." & (Chr(10))
involved to get the second part "Once It's Deleted, etc,
etc to drop centered to a second line. Any assistance will
appreciated.

Thanks,
 
S

Scott McDaniel

MsgBox("Do you really wish to delete the selected data?" & vbCrLf & vbCrLf &
"Once it's deleted, it will be purged from the database."

vbCrLf is a constant, and can be used anywhere you need to issue a
CarriageReturn/LineFeed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top