Category Archives: UDFs

Linking Excel to C – 2

In the previous post I decribed how to create four simple functions in Visual C++, and how to link them to an Excel spreadsheet or a VBA User Defined Function (UDF). This post will cover: Accessing arrays created in C++ functions … Continue reading

Posted in Excel, Link to dll, UDFs, VBA | Tagged , , , | 22 Comments

Linking Excel to C

One of the reasons often given for preferring programs like Matlab to Excel for scientific and engineering uses is the large body of specialist mathematical and scientific applications available to these programs.  In this and following posts I will describe how … Continue reading

Posted in Excel, Link to dll, UDFs, VBA | Tagged , , , | 28 Comments

Solving simultaneous equations

Solving a series of simultaneous equations is a task frequently required in engineering and scientific analysis.  Excel provides the tools to perform this task quickly and easily, but the procedure is not documented in the on-line help (so far as … Continue reading

Posted in Arrays, Excel, Maths, UDFs, VBA | Tagged , , , , | 5 Comments

Reinforced Concrete Section Analysis – 5; Ultimate Limit State

Previous posts in this series have looked at the analysis of beams where the steel stress is within the elastic range, and the concrete stress is sufficiently low that the assumption of linear elastic behaviour in compression is a reasonable approximation.  … Continue reading

Posted in Beam Bending, Excel, UDFs | Tagged , , , , , , , | 5 Comments

Intersections, interpolations, and rotations

Amongst the many and varied functions provided by Excel (or as far as I know any other spreadsheet) there are none that provide a one step process for linear interpolation, finding the intersection points of lines, or conversion between polar … Continue reading

Posted in Coordinate Geometry, Excel, UDFs, VBA | Tagged , , , , , , | 37 Comments