What will be the re...
 
Notifications
Clear all

What will be the result of the processing if the indicated workbook does not exist?

1 Posts
1 Users
0 Likes
126 Views
 Ali
(@ferdigali)
Posts: 698
Noble Member
Topic starter
 

A developer created a UiPath Process to find out, how many worksheets an Excel file stores.

What will be the result of the processing if the indicated workbook does not exist?

Please find the properties of the Excel Application Scope activity below:

Please find the properties of the Get Workbook Sheets activity below:

  • A . An error will be thrown.
    B. A Message Box will display "0".
    C. A Message Box will display "No sheets found".
    D. A Message Box will display "1".

Show Answer Hide Answer

Suggested Answer: D

Explanation:

When Create if not exists property is checked, if the workbook cannot be found at the specified path, a new Excel workbook is created with the name specified in the Workbook path property field. When not checked, if the workbook cannot be found at the specified path, an exception is thrown, informing the user.

In this case, Create if not exists property is checked, so a new workbook with a default 1 worksheet will be created. As a result, a Message Box will display "1". UiPath Documentation

Exam Topic: Identify and describe how activities are used to automate actions in Excel, e-mail, and .pdfs.
 
Posted : 26/12/2022 11:42 am

Latest UiPath UIPATH-ARDV1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: