Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel learn london - msgbox

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel learn london - MsgBox

excel learn london - MsgBox

ResolvedVersion Standard

Neil has attended:
Excel VBA Intro Intermediate course

MsgBox

What code do I use to get the message across more than one line in the box?

RE: MsgBox

Hi Neil,

To extend the message within a msgbox, you add the following VBconstants in between the text message:

vbCrLf [to insert Carriage Return + Linefeed]
vbLf [to insert Soft Carriage Return + Linefeed]
vbCr [to set a new line]
vbTab [to insert a tab]
vbBack [to Backspace]

Hope this helps.

Regards,

Katie

Excel tip:

Copying Values Without Formulas in Excel 2010

If you want to copy the contents of a cell but don't want to copy the formula with it then use the following simple method:

Press Ctrl+C to copy the values in the cell. On the Home tab, click Paste and then click Paste Values.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.