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 in RPA by Rashmi
948 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 by Abha
• 24,980 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

Moving files from one folder to multiple folders using UIPath

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

answered Jun 3 in RPA by Abha
• 24,980 points
103 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 in RPA by Abha
• 24,980 points
84 views
0 votes
1 answer

Writing multiple column in excel UiPath

You can read the entire Excel sheet ...READ MORE

answered May 9, 2018 in RPA by wrecker
• 3,110 points
1,791 views
0 votes
1 answer

Clear a text box in uipath?

Use the activity Type Into and in the properties ...READ MORE

answered May 13, 2018 in RPA by wrecker
• 3,110 points
868 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 in RPA by darklord
• 6,170 points
611 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 in RPA by Mishti
• 480 points
379 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 in RPA by Mishti
• 480 points
2,146 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 in RPA by Abha
• 24,980 points
1,260 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 in RPA by Abha
• 24,980 points
961 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 in RPA by Abha
• 24,980 points
618 views