Tag Archives: UDF

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

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

Ranges and Arrays

Transferring data from a worksheet into a VBA routine, or the other way round, is one of the most frequent tasks carried out in VBA programming.  Fortunately there is a simple way to do it: In a subroutine: Name the … Continue reading

Posted in Arrays, Excel, UDFs | Tagged , , , | 4 Comments