Category Archives: Excel

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

Reinforced Concrete Section Analysis – 2

Previous Post Pseudo-code for elastic analysis of a layered reinforced concrete section under eccentric axial load and pre-stress load:  Read data ‘For each reinforcement layer: Find area, first moment of area about top ,and depth of centroid. Find total reinforcement … Continue reading

Posted in Beam Bending, Excel | Tagged , , | 1 Comment

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