Welcome to xlSlim’s documentation¶
xlSlim - call Python code from Excel with no code changes!
- A unique interactive mode that mimics Jupyter notebook behaviour
- Data types converted automatically
- Python objects cached automatically
- Lists supported
- Keyword arguments supported
- VBA functions and other Excel add-in functions are available in Python
- Data can be easily streamed from Python to Excel
- Python can be used as a VBA replacement
…you don’t even need Python installed. xlSlim has a bundled version of Python 3.11
Additionally, xlSlim brings the power of DuckDB to Excel.
- Installation
- Quickstart
- Interactive Mode
- Optional arguments
- Passing simple data types
- Passing lists
- Passing Python objects
- Passing Python dictionaries
- Calling VBA and other Excel add-in functions
- numpy Arrays
- pandas Series
- pandas DataFrames
- Running Python in a background process
- Advanced Module Importing
- Dynamic Module Importing
- Remote Module Importing
- Streaming data
- Replacing VBA with Python
- Replacing VBA Event Handling with Python
- Adding Context and Ribbon Menus
- Licensing
- Troubleshooting
- DuckDB
- Read JSON data from a URL
- Read CSV data from a file
- Using SQLite to analyse data
- Loading Stock Prices from Yahoo! Finance
- Principal Components Analysis of Index Prices
- Monte Carlo Option Pricing
- NLP with Excel and Python
- Streaming from Kafka
- Creating a Pivot Table using Python
- US Equity Index Option Pricing
- Python Environments
- Excel Functions
- Registering modules
- Creating modules
- Viewing cached objects
- Creating ranges
- Diagnostics
- Clear Caches
- Clear Cached Item
- Use the bundled Python
- Get the current workbook location
- Get the log location
- Check the licensing status
- Check the licence expiry
- Activate a licence
- Deactivate a licence
- Version
- GetAttr
- GetItem
- Link a Python Function to Key Combinations
- Schedule a Python Function
- Add a Python Event Handler to process Excel events
- Update the Right-Click Context Menu
- Update the Ribbon Menu
- Activating Interactive Mode
- Deactivating Interactive Mode
- Running DuckDB SQL
- Data Conversions Between Excel and Python
- Magic Global Functions
- Special Named Ranges
- Licensing
- Software Requirements