Excel Connection Example


Module1.bas is a very simple example of how one might go about connecting an Excel spreadsheet to FEMM using ActiveX. The example script opens up an instance of femm and asks for the value of μo, the magnetic permeability of free space. The resulting value is pasted into a particular element of the spreadsheet.

To load and run the example script, do the following:


When the script is run, the FEMM window pops up very briefly. The resulting value is displayed on the mail Excel window in column B, row 10.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki