A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello Nick,
Thank you for posting in Microsoft Community.
We appreciate your interest in using Python in Excel!
I understand that you have some questions about the Python implementation in Excel. I'd be happy to help.
Firstly, I'd like to inform you that Python implementation in Excel has some limitations. Python does not have access to your computer, devices, or account. It only returns output to your workbooks through the =PY() Excel function, which displays the result of the Python code in the cell where the function is entered.
Additionally, Python functions cannot return other object types like macros, VBA code, or other formulas. This means that the Python code cannot access or modify other properties in the workbook, such as formulas, charts, PivotTables, macros, or VBA code.
Feel free to check more details here:
Data security and Python in Excel - Microsoft Support
Open-source libraries and Python in Excel - Microsoft Support
Get started with Python in Excel - Microsoft Support
I hope this information helps. If you have any further questions or concerns, please don't hesitate to ask.
Sincerely,
Kathy A.
Microsoft Community Moderator