Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- Cubic Splines
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Downloads
- XLDennis, the MSDN Library, and VBA rant
- Writing Arrays to the worksheet - VBA function
- RCInteract and RC Design Functions 7.03
- Daily Download 4: Continuous Beam Analysis
- About Newton Excel Bach
- Linking Excel to C - 2
Recent Comments
Category 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
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
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
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 →