macOS Warning: Userwarning with load_workbook(file)
Description of the problem:
On the macOS operating system, I'm having a warning that doesn't appear on other platforms. I noticed this problem occurs when I run the load_workbook(file) function. The specific warning that is displayed is:
/opt/homebrew/lib/python3.11/site-packages/openpyxl/reader/workbook.py:118: UserWarning: Print area cannot be set to Defined name: 'OperationList'!A:
H.
Steps to reproduce the problem:
- Launch the application on a computer running macOS.
- Run load_workbook(file).
- Observe the warning that appears.
Expected behavior:
- There should be no warnings when running the function.
Development environment:
- Operating system: macOS Ventura 13.4
- Application version: openpyxl 3.1.2
- Python Version: 3.11
Further information: I was able to perform the same action on other operating systems without encountering the warning. I've also checked the documentation and looked for similar problems, but haven't found anything relevant.
I appreciate any help or suggestions to fix this issue on macOS.
Thanks for your attention and help!
Best regards, Alfystar