hiexam
uipath · UiARD · Q606 · multiple_choice · topic_1

A developer needs to create a process that writes the table to an Excel file. While creating this process, the develope…

A developer needs to create a process that writes the table to an Excel file. While creating this process, the developer notices that two activities with the same name can write the scraped DataTable to Excel. What are the differences between the Workbook and Excel Write Range activities?
  • A.(Excel) Write Range activity only works in the foreground, visible to the user. (Workbook) Write Range activity only works in the background.
  • B.(Excel) Write Range activity must be included in an Excel Application Scope activity. (Workbook) Write Range activity requires that the file is not opened by the user before running.
  • C.Excel Write Range activity will create the file in the WorkbookPath property if it does not exist. Workbook Write Range activity can only be used when Excel is installed.
  • D.(Excel) Write Range activity only works in the background. (Workbook) Write Range activity will create the file in the WorkbookPath property if it does not exist.
Explanation
Selected Answer: B Compatibility: The "Workbook Write Range" activity is compatible with both Excel and OpenOffice spreadsheets, while the "Excel Write Range" activity is specifically designed for Excel files. File handling: The "Workbook Write Range" activity creates a new file if the specified file path does not exist, while the "Excel Write Range" activity throws an exception if the specified file path does not exist. If the file already exists, both activities overwrite the existing file.

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.