×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Continuing on a new line

Continuing on a new line

Continuing on a new line

(OP)
Hi all,

Sorry this is probably a dumb question but here goes...

I am using Attachmate Extra! and writing a Macro. I have a message I want to put in a message box, which I know how to do, but its a long message. It looks crappy in programming because its so long, but i cant seem to get the message to continue on the next line and still work. Is there a way this can happen?

Id love it to look more like this than one big line:
MsgBox "Before you start, Write the phrase 'End of Revision - Stop Macro' at
the end of your word document, with the word 'End' as far left as possible.
Then select all of the text you want to move into PIMS, including this phrase.
Once this is done, hit OK. The phrase will be automatically deleted from PIMS.", 49

Thanks.



RE: Continuing on a new line

Use vbNewLine

RE: Continuing on a new line

(OP)
In what manner?

Thanks,

RE: Continuing on a new line

Msgbox ("This is Line #1" & vbNewLine & "This is Line #2" & vbNewLine & vbNewLine & "There are two lines above this one") 

RE: Continuing on a new line

(OP)
Great! Thanks!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close