So we have reports for each of our teams. I have set them all up to automatically update for each of the teams by a simple press of a button within the report.
I have one team that always gets an error and cannot update their report, BUT i can open the same file from the same location and it works for me.
The file is located within our teams app, but we both open it from teams, we both open within the excel app(not teams viewer) and i can click the button and everything updates, but when they click the button the get the below error.
The highlighted line is where the "debug" takes me when trying to test their file.
Is there any improvements i can make to this area of the macro that would help? Is that line written the best it can be? Is there a better way to write that line?
At the moment, i dont hava a file to upload because these reports are so involved, if i try to strip it clean to upload, it may not work at all and introduce new errors..
right now just looking to see if there is anyway to improve this portion of the logic to test with that team.
I can provide the whole routine code here:
Bookmarks