Manually Registering the Component for the COMSOL API
When installing LiveLink™ for Excel® the ComsolCom.dll component necessary for accessing the COMSOL API for VBA is installed and registered with Excel. You can also register or unregister this component manually by following the instructions below.
Registering the API Component
In order to register manually the ComsolCom.dll component, open a Command Prompt as an Administrator, then run the following command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "<COMSOLPATH>\ext\LiveLink\Excel\ComsolCom.dll" /codebase /tlb
where <COMSOLPATH> is the path to your COMSOL Multiphysics installation directory.
Unregister the API Component
In order to unregister manually the ComsolCom.dll component open a Command Prompt as an Administrator, then run the following command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "<COMSOLPATH>\ext\LiveLink\Excel\ComsolCom.dll" /u /tlb
where <COMSOLPATH> is the path to your COMSOL Multiphysics installation directory.