Category Archives: VBA

ImageMagick and Excel

Back from my holidays, with a hard disk full of holiday snaps, and looking for a program to extract the image data saved on the camera, and add comments.  Not liking the offerings provided with the cameras, or any of … Continue reading

Posted in Drawing, Excel, VBA | Tagged , , , | 9 Comments

Drawing in Excel 6 – getting shape properties

Previous post One of the less than useful new “features” of Excel 2007 is that its macro recorder no longer records operations on shapes, which removes the easiest way to discover the exact names of shape properties, and how to manipulate … Continue reading

Posted in Drawing, Excel, UDFs, VBA | Tagged , , , , | 5 Comments

Linking Excel to C – 3; Avoiding bottlenecks

The previous post in this series included a C dll to solve cubic polynomial equations that could be called from VBA.  The performance of this routine is compared with a VBA routine using a similar algorithm in the sceenshot below (rows … Continue reading

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

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