Respond to Excel security settings when opening a file to write data to

We have ‘sensitivity’ settings in our 365 apps which mean that when we create files we have to select whether a file is public, confidential etc.
I’m following the training video showing how to scrape web data and copy into an Excel file but when I run the RPA the prompt to set the security setting on the Excel file pops up. How can I get the RPA to respond to this?

You could just create a click on the sensitivity option that you want to use. Another option would be to use Workbook activities, if I remember correctly you won’t get the dialog about options if you use them.