Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- XLDennis, the MSDN Library, and VBA rant
- Filling Blanks with Go To-Special (and local help rant)
- Using LINEST for non-linear curve fitting
- Cubic Splines
- Writing Arrays to the worksheet - VBA function
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Daily Download 5: Frame Analysis
- Automating chart scale limits - update
- Moving averages and User Defined Array Functions
- About Newton Excel Bach
Recent Comments
Category Archives: UDFs
Python for VBA users – 2
This post will look in more detail at translating the VBA Quadratic function (described in Python for VBA users – 1) into a Python function, linked to Excel via PyXll. For the purposes of this exercise I created a new Python … Continue reading
Posted in Excel, Link to Python, NumPy and SciPy, UDFs, VBA
Tagged Excel, Python, PyXLL, Quadratic function, Translate VBA to Python, UDF, VBA
11 Comments
Python for VBA users – 1
Following my recent posts on some preliminary experimentation with linking Excel to Python, this will be the first of a more structured series, mainly as a reminder to myself of lessons learnt on the way, but also I hope of … Continue reading
Posted in Excel, Link to Python, UDFs, VBA
Tagged Excel, Python, PyXLL, Translate VBA to Python, UDF, VBA
2 Comments
Sorting with Python
A previous post provided a VBA Sort function that could be used as a User Defined Function (UDF) to provide a sorted list on the spreadsheet, or called from another VBA routine to sort an array. I have just written a … Continue reading
Posted in Arrays, Excel, Link to Python, UDFs
Tagged Excel, Python, PyXLL, Sort Function, UDF, VBA
5 Comments
Running VBA routines from a new workbook
I have had a couple of queries recently which seem to be resulting from trying to run User Defined Functions (UDFs) from a new workbook, so this post will look at the options for using the VBA routines provided here (or … Continue reading
Select and sum data using the scripting dictionary
Another User Defined Function (UDF) prompted by a query at Eng-Tips. The question concerned a set of data consisting of 13 columns, which was to be divided into two sets, based on the contents of Column 4, then the contents … Continue reading
Posted in Excel, UDFs, VBA
Tagged Excel, Scripting dictionary, SelectSum function, UDF, VBA
2 Comments