Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
Recent Comments
Category Archives: VBA
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
EvalA update and examples
The EvalA User Defined Function (UDF) has been included in the Eval2 and Eval-Integration spreadsheets for some time, but was not documented. That has now been fixed, and both spreadsheets can be downloaded from Eval2.Zip (including full open-source code). The … Continue reading
Posted in Arrays, Charts, Excel, Maths, Newton, UDFs, VBA
Tagged EvalA function, evaluation of text strings, Excel, UDF, VBA
Leave a comment
SelectAv Function
Suppose you have a spreadsheet range containing numerical data, and would like to find the average for a number of the most recent values, ignoring the highest (and/or lowest) values from the selected set. If you like using long array … Continue reading
Copy non-blank rows to another sheet
A thread at Eng-Tips asked for a way to display the data from Sheet2 on Sheet1, but only the rows that were not blank in Column A. There are probably ways to do it without VBA, but it seems to me … Continue reading
Posted in Arrays, Excel, UDFs, VBA
Tagged Array Function, copy non-blank rows, Excel, UDF, VBA
3 Comments