I have an Excel spreadsheet that uses Power Query to grab data from another spreadsheet. I have created an automated process that does a ‘Refresh All’ on the spreadsheet, so that my spreadsheet is refreshed with the latest data every two minutes. This works really well and am super happy with it.
My problem is that, because the process can sometimes stop and the data doesn’t refresh, I need the process to write to a cell in the spreadsheet, something simple, say “Stopped”, so I know I have to restart it.
I use the Assistant to run the process. If I hit the Stop button on the Assistant, would a try catch do the same thing and write to the cell to tell other users that the process had stopped, or does the try catch only relate to errors?