How to close the popup in the excel. There is a popup after the excel is opened, how to close it. Which activity is to be used.
It may appears or not, sometimes its appearing and in sometimes its not.
when it appears , it should close the popup
Check the below threads
What kind of popup you are getting? Any screenshot.
I would say you first investigate why this pop up happen and fix the issue at the source. There’s an activity available which may be of help:
Is it appearing when opening the file?
yes, while opening the excel its appearing
Follow these steps:
- Create a workflow to open the excel file using Excel Process Scope
- From your Process.xaml or whichever workflow you want to work on the data Invoke this excel file opening workflow. Make sure you are check boxing
Isolated
property of Invoke Workflow. Move this Invoke workflow toParallel
activity.
Like this.
- In the same parallel activity add Use Application browser activity to handle the popup.
Try this and let me know in case of any issue.
Refer this thread also.
Thanks,
Ashok
Try to add pick branch or parallel activity and if pop up found you can have click ok activity or try to send ESC short cut key
Also try to disable the popup by advance excel setting as suggested in other replies
The other thing is try to launch excel file in read only mode by vb script
Open command
You can add invoke code and one liner script to open file in read mode @anjani_priya
You missed the excel file path. It’s just the directory you put there. Use full path there.
Yeah I have used just in the scrrenshot i have removed
Is the subflow and main cant be in single workflow?
No, It cannot because it’s require this way to isolate the UiPath Executer.
I have used check app state inside I have used keyboard shortcuts with escape button
Is it working ? Now with this as expected