Activities - Excel Process Scope (2024)

UiPath.Excel.Activities.ExcelProcessScopeX

Opens or reuses Excel processes, loads the Excel project settings and applies them to the associated Excel file. This activity makes managing Excel processes easier by allowing you to configure the launch method of an Excel process and how existing Excel processes are handled.

Some of the use cases are:

  • Enables or disables macros.
  • Handles conflict resolutions between Excel files.
  • Allows the termination of existing Excel processes to avoid conflicts.
  • Manages process modes (whether to open a new process, reuse an existing one, or prompt the user).

We recommend placing an Use Excel File activity inside an Excel Process Scope activity to open Excel documents with certain settings already applied.

Properties

link

Common
  • DisplayName - The display name of the activity.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
  • Display alerts - If selected, Excel can display alerts and messages. The default value is Same as project. The drop-down contains three options, as follows: Same as project, False, True.
  • Existing processes action - The action to be executed if other Excel processes are running. The default value is Same as project. The drop-down contains three options, as follows:

    • Same as project - Applies the same settings as in the Project Settings.
    • None - No action is taken in relation to the existing processes on the machine.
    • Force kill - Closes any open Excel processes without making any attempt to save the file.
  • File conflict resolution - The action to be executed if Excel file conflicts are detected between Excel processes. For example, an Excel file is already open in another Excel process. The default value is Same as project. The drop-down contains five options, as follows:

    • Same as project - Applies the same settings as in the Project Settings.
    • None - No action is taken.
    • Close without saving - Closes any Excel files that are in conflict, without saving pending changes.
    • Prompt user - Shows the user a prompt saying that files need to be closed.
    • Throw exception - Raises an exception that can either be handled in a Try Catch activity or cause the workflow to terminate.
  • Launch method - Determines whether an Excel process is launched via COM APIs or as full process. The default value is Same as project. The drop-down contains three options, as follows:

    • Same as project - Applies the same settings as in the Project Settings.
    • Automation - Excel is started by the automation APIs. This is faster, but not all add-ins load, so it can caused problems if the workbook relies on an add-in to function correctly.
    • Application - Excel is started like a user manually opened it, ensuring that all aspects of Excel load, such as add-ins.
  • Launch timeout - The time to wait for Excel to start in seconds, if launched as a full process. The default value is 20 seconds.
  • Macro settings - Specifies the macro level for the current Excel file. The default value is Same as project. The drop-down contains four options, as follows:

    • Same as project - Applies the same settings as in the Project Settings.
    • EnableAll - All macros are enabled and can be run.
    • DisableAll - All macros are disabled in the specified Excel file. No macros can be run.
    • Use Excel's settings - Reads the current Excel Macro settings.
  • Process mode - Determines how the Excel Process Scope activity manages Excel processes:

    • Same as project - Applies the same settings as in the Project Settings. This is the default value.
    • Always create new - A new Excel process is always created to load all of the associated files.
    • Attended user - Enforces that there is only one Excel process on the machine. If more than one Excel process is found, the user is prompted.
    • Reuse if exists - Searches for any open Excel processes when the first Use Excel File activity is executed to verify if a file is already open. If an open file is found, that process is associated with Excel Process Scope. In the event that another open file is found, the File conflict resolution setting is applied.
    • Only if exists - Searches for any open Excel processes when the first Use Excel File activity is executed to verify if a file is already open. If an open file is found, that process is associated with Excel Process Scope. If no open files are found, an exception is thrown.
  • Show Excel window - If selected, Excel windows appear during the automation. The default value is Same as project. The drop-down contains three options, as follows:

    • Same as project - Applies the same settings as in the Project Settings.
    • False - Excel files are opened by the project in the background, with their windows hidden.
    • True - Excel files are opened by the project with their windows visible to the user.
Activities - Excel Process Scope (2024)

References

Top Articles
Joy Macci on LinkedIn: PickleCon 2024 in Kansas City kicked off with a dynamic inaugural day, as…
KheloMore on LinkedIn: Pickleball Explained: Ultimate Guide to Its Origins, Fun Facts, and Game…
DPhil Research - List of thesis titles
Jackerman Mothers Warmth Part 3
Angela Babicz Leak
What to Do For Dog Upset Stomach
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
Soap2Day Autoplay
Overzicht reviews voor 2Cheap.nl
Heska Ulite
Lesson 3 Homework Practice Measures Of Variation Answer Key
Call Follower Osrs
Find The Eagle Hunter High To The East
Summoner Class Calamity Guide
The Murdoch succession drama kicks off this week. Here's everything you need to know
Clarksburg Wv Craigslist Personals
Suffix With Pent Crossword Clue
Mail.zsthost Change Password
Michigan cannot fire coach Sherrone Moore for cause for known NCAA violations in sign-stealing case
Skyward Login Jennings County
Commodore Beach Club Live Cam
Virginia New Year's Millionaire Raffle 2022
Ubg98.Github.io Unblocked
Heart Ring Worth Aj
Adt Residential Sales Representative Salary
Walmart Near South Lake Tahoe Ca
John Chiv Words Worth
Wnem Tv5 Obituaries
Pawn Shop Moline Il
Mdt Bus Tracker 27
Blackboard Login Pjc
Royalfh Obituaries Home
Bayard Martensen
San Jac Email Log In
Uncovering the Enigmatic Trish Stratus: From Net Worth to Personal Life
Grove City Craigslist Pets
Word Trip Level 359
Wbli Playlist
دانلود سریال خاندان اژدها دیجی موویز
Planet Fitness Santa Clarita Photos
Td Ameritrade Learning Center
Ashoke K Maitra. Adviser to CMD's. Received Lifetime Achievement Award in HRD on LinkedIn: #hr #hrd #coaching #mentoring #career #jobs #mba #mbafreshers #sales…
B.C. lightkeepers' jobs in jeopardy as coast guard plans to automate 2 stations
Casamba Mobile Login
All Weapon Perks and Status Effects - Conan Exiles | Game...
Nimbleaf Evolution
Cult Collectibles - True Crime, Cults, and Murderabilia
303-615-0055
Enter The Gungeon Gunther
Join MileSplit to get access to the latest news, films, and events!
Selly Medaline
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 5460

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.