Hello!
Thank you for posting here in Microsoft Community.
I understand that you are experiencing an issue with Python in Excel. I would like to inform you that Python in Excel is still in preview, which means that you may encounter some issues, compatibility, and bugs. However, our engineering team is continuously working to improve it.
Regarding the #BLOCKED! error that you are getting, I would like to inform you that Python in Excel must be enabled in a workbook for Python formulas to calculate. If you see the #BLOCKED! error, please ensure that you have access to Microsoft 365 connected services. Connected experiences in Microsoft 365 - Microsoft Support.
Also, I'd love to confirm few details:
- Does this issue occur on a specific workbook?
- What Office build version you currently have? About Office: What version of Office am I using? - Microsoft Support
I hope this information helps. If you have any further questions or concerns, please don't hesitate to ask.
Best regards,
Arquel C.
Microsoft Moderator