Nov 28, 2021
Hi Ted, thank you for the feedback!
I am not sure what caused the issue, but avoiding the ExcelWriter context manager resolved it. Perhaps some issue has surfaced because of an openpyxl or Excel update since the original post.
Please refer to the article's edit for an updated script!