Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- 2DFrame-py
- Using LINEST for non-linear curve fitting
- Cubic Splines
- Biaxial bending update
- Downloads
- Weighted Least Squares Regression, using Excel, VBA, Alglib and Python
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Automatic download of csv files
- XLDennis, the MSDN Library, and VBA rant
- The history of the theory of beam bending - Part 3
Recent Comments
Tag Archives: VBA
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
Arrays vs Collections vs Dictionary Objects (and Dictionary help)
A recent comment by Lori Miller at Daily Dose of Excel suggested that (for the particular application being discussed) the VBA Collection object was quicker than using scripting dictionaries. Since I hardly ever use collections (other than the built-in ones), and … Continue reading
Posted in Arrays, Excel, VBA
Tagged Collection, Excel, performance, Scripting dictionary, VBA
7 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
Commenting a block of code in VBA
One way is to manually place an apostrophe at the start of every line in the block. A much easier way (I just found out today) is: Go to View-Toolbars-Customise Select the Command tab Select the Edit Category on the … Continue reading →