Finite Element Method Magnetics : Excel

HomePage :: Search :: PageIndex :: RecentChanges :: Login/Register

Revision [47]

The oldest known version of this page was edited on 2009-08-06 00:00:24 by DavidMeeker

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 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0665 seconds