How to Restore the Python Cell Card Icon in Excel
Question details
The user wants to restore the original standard card icon for Python cells in Microsoft Excel after it unexpectedly changed to a text label.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Using the Python integration feature in Excel for data analysis and visualization.
- Observed behavior
- The standard card icon for Python cells has changed to a bracketed 'PY' label, even though Python in Excel continues to function normally.
Ensure your computer is connected to the internet to check for the latest Microsoft 365 updates, and verify that you have an active Microsoft 365 Insider subscription.
Verify Insider Channel and Update Excel
Since Python in Excel is part of the Microsoft 365 Insider program, changing channels or missing updates can alter feature appearances.
Microsoft frequently updates the UI for preview features. Confirming your enrollment in the Beta or Current Channel (Preview) ensures you have the intended functionality and visual assets.
Launch Microsoft Excel on your Windows desktop, click on the 'File' menu in the top-left corner, and select 'Account' from the bottom left sidebar.
Look under the 'Product Information' section to confirm your current Microsoft 365 update channel and ensure you are enrolled in the preview program.
Click the 'Update Options' button next to your channel information and select 'Update Now' to download and install the latest patches.

Report the Icon Change via Microsoft Feedback
If updating does not restore the icon, report the issue directly to Microsoft so their development team can address the UI discrepancy.
Try WPS Office for Seamless Spreadsheet Management
Experiencing UI inconsistencies with preview features in Microsoft Excel? WPS Office provides a stable, lightweight, and highly compatible alternative for your everyday spreadsheet and data analysis needs without unexpected interface changes.
- 1. Download and Install: Visit the official WPS website to download the free installation package for your operating system.
- 2. Open WPS Spreadsheets: Launch the WPS Spreadsheets application from your desktop or start menu.
- 3. Import Excel Files: Drag and drop your existing .xlsx or .csv files directly into the workspace to start analyzing data immediately.

Frequently Asked Questions
Why did my Python icon in Excel suddenly change to a text label?
Because Python in Excel is largely a preview feature rolling out to Microsoft 365 Insiders, Microsoft frequently tests different user interface designs, which can cause graphical icons to change into text labels like a bracketed PY.
Does the PY label mean Python is no longer working in my Excel workbook?
No, the PY label is simply a visual interface change. Your Python formulas, data frames, and background calculations will continue to function normally despite the icon difference.
How do I check if WebView2 is installed for Excel to render Python properly?
You can verify this by opening the 'Add or Remove Programs' settings in Windows and searching for 'Microsoft Edge WebView2 Runtime'. This runtime component is required for modern Excel features like Python integration to render cards and charts.
Can I manually change the Python cell icon back to the card format?
Currently, there is no built-in toggle setting in Excel to manually switch the visual style of the Python cell icon. The interface is controlled entirely by the specific Microsoft 365 update channel build you have installed.




