First I am copying the data from opened Excel
Pasting the data in desktop application
Replacing(By using (Cntrl+F) the pasted data from the excel application scope
Then have to copy the replaced data in opened excel ,
While doing this process when ever I start Excel Application Scope my opened Excel is closing automatically.
How it keep it open even though other Excel Application Scope is Running,Any suggestion Appreciated
I don’t understand you fully, but I might be able to answer your question.
I could be wrong, but I believe if the Excel Scope opens the file then it will close it; if the file was already opened then it won’t close it unless you use Close Workbook. So you could just open it before the Excel Scope with for example Open Application (Excel.exe with Filename for Argument)
The question is I already have opened excel workbook and i am opening excel application scope and using it while i am running the bot the excel is closing .
I have a excel open already and then I am using excel application scope for other rows to get the data .But when I am doing it opened Excel is also closing automatically.
@Kishore2,You’re saying you already opened an excel using excel application scope,You can read the data in the previously opened scope.You are performing operations on the same file Then why you wan’t to use excel application scope again.
No,The opened excel is not in excel application scope ,Its just a excel spread sheet which is in open stage .
Other one is excel excel application scope which I am trying to open while opened excel is still open on the desktop.It is not allowing me to do so.
You can set up a workbookapplication variant, and set it as the output of the first Excel Application Scope, then use this variant as “use existing workbook” for the following scopes. By doing like this, the excel file will keep open
Declare the variable into the Output Workbook, that will keep your Excel file Open.
for more reference find the attachment.
Let me know if any another doubt