AttributeError: ‘Workbook’ object has no attribute ‘add_worksheet’
I was given a document that I run in Jupyter through Anaconda Navigator. The person who created the code is gone, and I am stuck. For over a year it was running fine daily. A couple of weeks ago Anaconda stopped working so IT reinstalled with the latest version. However, since then the document keeps failing at a certain part. I can continue on, but this portion does not produce the needed results. The code is below. Do I need to edit the code to prevent the error? I appreciate any help available.