Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continuing on a new line

Status
Not open for further replies.

tadisc

Technical User
Jul 22, 2014
6
US
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.



 
[pre]Msgbox ("This is Line #1" & vbNewLine & "This is Line #2" & vbNewLine & vbNewLine & "There are two lines above this one")[/pre]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top