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
14,709 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
• 28,140 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, 2020 in RPA by Jake
3,196 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
• 28,140 points
1,216 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
• 28,140 points
2,397 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
• 28,140 points
4,085 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 12, 2019 in RPA by Sahiti
• 6,370 points
2,777 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
1,576 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
8,900 views
0 votes
2 answers

What is Delay Activity in UiPath Studio?

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

answered May 9, 2020 in RPA by Biju Joseph
15,969 views
0 votes
1 answer

Creating multiple sheets in excel workbook using UiPath

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

answered Mar 5, 2019 in RPA by Abha
• 28,140 points
7,783 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
• 28,140 points
3,505 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP