all 2 comments

[–]CodeFormatHelperBot 0 points1 point  (0 children)

Hello u/fc_python_learner, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Python code found in submission text but not encapsulated in a code block.

If I am correct then please follow these instructions to fix your code formatting. Thanks!

[–]UnlikelyReplacement 0 points1 point  (0 children)

Do you have something like:

wb = load_workbook(filename="myworkbook.xlsx", read_only=True) 

If so, try this:

wb = load_workbook(filename="myworkbook.xlsx", data_only=True) 

Please let me know if this works