Write multiple line message using message box

0 votes
I want to display the details of an employee in multiple lines, using Message Box acitivity in UiPath but don't know how to do that? Message box doesn't allow a new line character like "\n" to go to new line. Please suggest.
Mar 4, 2019 in RPA by Rashmi
2,402 views

1 answer to this question.

+1 vote

@Rashmi Message Box activity in UiPath does allow 'new line text' writing, but it doesn't use "\n". It uses 'vbCrlf' to add new-line character.

For Example: "text1" + vbCrlf + "text2" + vbCrlf + "text3" 

will result in : 

answered Mar 4, 2019 by Abha
• 27,800 points

Completely agree with @Abha answer and other than vbCrlf there are few more constants which can be used to add newline which are as following

1 - vbNewLine

2 - vbCr

3 - vbLf

4 - Environment.NewLine

@Arun, thank's for sharing your answer. Glad to know these constants can also be used to add newline.

Related Questions In RPA

0 votes
1 answer

TO PRINT ARRAY OF INTEGER IN MESSAGE BOX WITHOUT USING FOR EACH ACTIVITY IN UIPATH

In case you don't want to use ...READ MORE

answered 3 days ago in RPA by Jake
16 views
0 votes
1 answer

Moving files from one folder to multiple folders using UIPath

By "we need to distribute the files ...READ MORE

answered Jun 3, 2019 in RPA by Abha
• 27,800 points
172 views
0 votes
1 answer

How can i create a check box list using for each loop in UI Path.

Hi, to achieve this automation, you can ...READ MORE

answered Aug 29, 2019 in RPA by Abha
• 27,800 points
527 views
0 votes
1 answer

How to close the message box automatically in Uipath Studio?

Hey Apeksha, There is no way to close ...READ MORE

answered Nov 7, 2019 in RPA by Abha
• 27,800 points
464 views
0 votes
1 answer

Identify a Column in a database in UiPath Studio

There are two options to identify a ...READ MORE

answered Feb 11, 2019 in RPA by Sahiti
• 6,290 points
939 views
0 votes
1 answer

Which edition of UiPath is more suitable for individual use, Enterprise Platform or Community Edition? Why?

UiPath’s Community Edition (CE) is the version which is ...READ MORE

answered Mar 7, 2019 in RPA by Mishti
• 480 points
602 views
0 votes
1 answer

How to connect to MySQL database using UiPath?

Follow these simple steps to connect to ...READ MORE

answered Mar 7, 2019 in RPA by Mishti
• 480 points
3,814 views
0 votes
1 answer

What is Delay Activity in UiPath Studio?

Hi Utkarsh, Uipath uses the delay activity for ...READ MORE

answered Mar 13, 2019 in RPA by Abha
• 27,800 points
2,372 views
0 votes
1 answer

Creating multiple sheets in excel workbook using UiPath

Hi @Ashmita, you can create multiple excel ...READ MORE

answered Mar 4, 2019 in RPA by Abha
• 27,800 points
1,723 views
0 votes
1 answer

Is there any way to install extensions to UiPath studio using command line?

Hi @Divya, to install extensions like Chrome, ...READ MORE

answered Mar 29, 2019 in RPA by Abha
• 27,800 points
993 views