Inserting a CRLF (vbNewLine) in a text string

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
cgaston
Junior Coder
Posts: 24
Joined: Sat Jan 22, 2005 11:52 am
Location: Ottawa, Canada

Inserting a CRLF (vbNewLine) in a text string

Post by cgaston » Sun Jul 10, 2005 6:12 pm

I have the following Dialog:

Dialog>Confirmation1
Caption=Confirmation
Top=197
Width=602
Left=126
Height=180
Label=Your file has been saved under the name & %Filename%,80,48
Button=Ok,264,80,75,25,1
EndDialog>Confirmation1

I would like the file name to appear on the next line. How could I force a new line within the label?

Thank you,

Gaston.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sun Jul 10, 2005 9:05 pm

Insert %CRLF% where you want the new line. E.g.:

Label=Your file has been saved under the name %CRLF%%Filename%,80,48
MJT Net Support
[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts