yaniketz
(Oleksandr)
February 27, 2019, 5:45pm
1
Hello, i have a task to check if excel file contains protected items.
I open file in excel application scope and if file requires password or file broken i get exception, so I can check it.
But how to check if file contains password protected sheets or cells?
Thank you.
nimin
(nimzz)
February 27, 2019, 7:59pm
2
Hi @yaniketz ,
This may be helpful for you.
For the first question, about the situation whether the workbook is already opened: simply use the ‘Excel application scope’. If the workbook is not opened, UiPath will open it and execute the activities in that scope. If the workbook was already open, then it will execute the activities. In both cases you can then use the output workbook variable of that ‘Excel application scope’ activity for your next activities.
For the password protected workbooks: you can use the ‘Invoke VBA’ activity to c…
Warm regards,
Nimin
1 Like
system
(system)
Closed
March 4, 2019, 11:04am
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.