Category Archives: UDFs

Worksheetfunction vs UDF – 2

Previous Post In a recent post at microsoft.public.excel.programming Charles Williams (Decision Models) found that a VBA User Defined Funcion (UDF) searching through a defined range for a specified number was very much slower than simply using .worksheetfunction.match as below: Function VBAMatch2(arg … Continue reading

Posted in Excel, UDFs | Tagged , , | Leave a comment

Importing text files with VBA

Importing data from other programs into an Excel spreadsheet, in the form of text files, is a frequent requirement in engineering and scientific applications.  Often the data will have been formatted to suit printed output and will require processing before … Continue reading

Posted in Excel, UDFs, Uncategorized | Tagged , , , , | 12 Comments

Excel 2007 performance – feedback please

According to this post at MSDN: http://msdn.microsoft.com/en-us/library/aa730921.aspx#office2007excelperf_ExcelPerformanceImprovements Excel 2007 should be giving significant performance improvements on multi-core processors. Some simple benchmarks on an Acer laptop with 2.0 GHz dual-core processor and 2 GB RAM show some improvement (over Excel 2000), … Continue reading

Posted in Excel, UDFs | Tagged | 7 Comments

Evaluate Function

It would often be convenient to evaluate a function entered as text; for instance if we have the function for the deflection of a cantilever under point loading at the end: F*L^3/(3*E*I) then it would be convenient to be able … Continue reading

Posted in Excel, Maths, UDFs | Tagged , , | 9 Comments

Section Properties of Defined Shapes – Spreadsheet

Download section properties spreadsheet from: http://www.interactiveds.com.au/software/Section%20Properties03.zip http://www.interactiveds.com.au/software/Section%20Properties07.zip Section properties for 35 defined shapes Section properties from coordinates Section properties UDF Screen shots:

Posted in Excel, Maths, UDFs | Tagged | 29 Comments