Attaching to Excel that is already launched

So I have an automation that needs to attach to an already open instance of Excel. I have to do this as we are trying to automate the use of an Add-in, following the instructions given here (Excel Automation with RPA - Excel Application RPA | UiPath) we need to start the application using Start Process.

my question is how do I use the file after it’s open? how do I attach to it?

My environment is in C# in case a code stage is needed.

For any application or browser window you always use Use Application/Browser to “attach” to it.

Sorry I’m brand new to using UiPath. How would that look like in a flow? I have this:
image

I’m launching Excel with a filepath, then I need to edit a cell in the file.

You should do the free training at academy.uipath.com - it will teach you these basic things.

You don’t put Start Process inside Excel Process Scope. They have nothing to do with each other. What you’re trying to do is UI automation (ie clicking and typing in Excel). For that, you use the activities in the UiPath.UiAutomation.Activities package which are things like Use Application/Browser, Click, Type Into, etc. The Excel Process scope is for directly accessing and manipulating the data in an Excel file without using UI automation.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.