How to close a XLS file without saving after running macro

uiautomation
uipath

#1

Hi ,

In a .xls file containing some data I will run a macro. After running macro I have to close the .xls file without saving the content of running macro. Can any one suggest a best way of processing it.

Thanks and regards,
srikanth


#2

Hey @srikanth999

I do not know well you are aware with it or not but have you tried with the Excel Application Scope Activity available Property “Auto Save” ?

Excel Package Version - 2.0.6526.16321

image

Regards…!!
Aksh