Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- XLDennis, the MSDN Library, and VBA rant
- Cubic Splines
- Daily Download 4: Continuous Beam Analysis
- Filling Blanks with Go To-Special (and local help rant)
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Daily Download 5: Frame Analysis
- Writing Arrays to the worksheet - VBA function
- About Newton Excel Bach
- Automating chart scale limits - update
Recent Comments
Category Archives: UDFs
A Sort Function
There is often a need to sort data within a VBA routine, but VBA does not have a built in sort function, so I recently had a look for what is on offer on the Internet. Chip Pearson has an … Continue reading
Evaluate integrals to a specified tolerance
A previous post presented a user defined function (UDF) to perform a numerical integration of a function specified as a text string. The UDF allowed the number of subdivisions of the integration range to be specified, but the number of subdivisions required to … Continue reading
Posted in Excel, Maths, Newton, UDFs
Tagged Evaluate, Excel, numerical integration, Simpson's Rule, UDF, VBA
2 Comments
Splitters!
A recent post on the Tek-Tips VBA forum reminded me that VBA has a split function, which will split a string into sub-strings at any specified character (such as a space). D’oh I thought, why did I waste my time writing … Continue reading
Importing tab delimited files and clearing large ranges
Wray Sisk commented on Importing text files with VBA – 3, asking if it could be modified to read tab delimited files. It could be, and has been; download here: Text-in2.ZIP It turned out to be a simple task; just … Continue reading
Posted in Excel, UDFs, VBA
Tagged Excel, Excel 2007 performance, import text, slow clearing, UDF, VBA
2 Comments
IP.xls updated
The spreadsheet IP.xls has been updated (previous post) with the addition of a function to find the minimum perpendicular distance from a point (or series of points) to a polyline: Pdist =PDist(Line,Points) Line is a range with at least two rows containing … Continue reading