A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi WardellCastles, This is Bryll
Thank you for writing us here in Microsoft Community.
To use Python in Excel Beta Channel of Office 365 version 2311 Build 17022.20000, you need to enable the Developer tab and install the Script Lab add-in. Here are the steps to do that:
- Click on File > Options > Customize Ribbon and check the Developer box under Main Tabs. Click OK to save the changes.
- Click on the Developer tab and then click on Add-ins. Search for Script Lab in the Office Add-ins Store and click on Add.
- Once the add-in is installed, you can open it from the Developer tab by clicking on Script Lab > Code.
- In the Script Lab pane, you can create a new script or import an existing one. You can choose Python as the language and write your code in the editor.
- To run your script, click on Run > Run in this workbook. You can see the output in the console or in a task pane.
- Make sure that your Windows OS computer is installed with WebView2 - Microsoft Edge Developer
Should Insert Python still show missing from the Formula tab, proceed to other strategies below:
- Go to File then Excel options
- Click Quick Access Toolbar
- Under Choose commands from, select Formulas tab
- From the list of Formulas tab, try to find Python and press Add
- Open Excel and click on the "File" tab.
- Click on "Options" and then select "Add-ins".
- In the "Manage" drop-down menu, select "COM Add-ins" and click "Go".
- Check the box next to "Python for Excel" and click "OK".
- Restart Excel and Python should now be available.
If you do not see "Python for Excel" in the list of COM Add-ins, you may need to download and install the Python for Excel add-in from the Microsoft AppSource store.
Should problem persist, I recommend in uninstalling or reinstalling your Microsoft Office suite.
If still encountering same issue with Python in Excel, please be guided that Python is currently in preview where it is still in development and are being tested by users to gather feedback and improve their performance before they are released to the general public. It may contain bugs or other issues that could affect their functionality. Report them by selecting Help > Feedback in Excel or through How do I give feedback on Microsoft 365? - Microsoft Support
I am honored to contribute on your concern.
Yours truly,
Bryll
Microsoft Moderator