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
4,366 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,930 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 Apr 3 in RPA by Jake
444 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,930 points
247 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,930 points
832 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,930 points
1,115 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,320 points
1,287 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
775 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
5,118 views
0 votes
2 answers

What is Delay Activity in UiPath Studio?

"Delay" activity is used to add a ...READ MORE

answered May 9 in RPA by Biju Joseph
4,560 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,930 points
2,762 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,930 points
1,379 views