Sorting with VBA and Python

This subject was last covered in March 2014.  I have now updated the Python code to work with xlwings, and the new version (including open source VBA and Python code) can be downloaded from:

Sortfunc.zip.

The previous version, linking to Python through Pyxll is still available from:

SortFunc-pyxll.zip.zip.

The Python functions require xlwings and Python.  The Anaconda Python package includes xlwings as well as the Numpy and Scipy libraries.

The screenshot below shows examples of the VBA and Python dynamic sort functions.  See the  previous post for more details.

This entry was posted in Arrays, Excel, Link to Python, UDFs, VBA, xlwings and tagged , , , , , . Bookmark the permalink.

One Response to Sorting with VBA and Python

  1. Pingback: Sorting with Python and Numpy | Newton Excel Bach, not (just) an Excel Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s