Problems with the Maple Add-In for Excel can result in a variety of error messages, but there are general procedures to fix them all. Typically, the source of the problem can be traced to one or more of the following:
Compatibility. The versions of Excel and Maple are incompatible.
License. Maple is not activated, or the license file is invalid. This would lead to an "Invalid or missing license file" error.
Architecture. The version of the add-in file ("WMIMPLEX") was of the wrong architecture (32-bit or 64-bit). Excel and Maple have to both be 32-bit, or both 64-bit.
Corrupted installation. The installation of either Excel or Maple is corrupted, and it needs to be reinstalled.
- Corrupted link. The link between Excel and Maple is corrupted, and needs to be removed and then reconfigured.
Assuming that the installations of Excel and Maple are fine (reinstall, if necessary), the versions are compatible, and Maple is properly activated, please follow this general procedure:
Relocate/rename any "WMIMPLEX" files, WMIMPLEX.xla and WMIMPLEX64.xla. In general these files will be located in a sub-directory of the Maple installation folder named Excel.
Please note that the file that is linked with Excel is stored in the Windows registry. For Microsoft Office 2010 (14.0):
Open Excel to remove the link.
Either immediately, or after you open the "Excel Add-Ins" page of the "Options" and confirm the path of the "WMIMPLEX" file, you should receive a message saying that Excel cannot find the file:
Cannot find add-in 'C:\Program Files\Maple 2021\Excel\WMIMPLEX64.xla'.
This will allow you to remove the link. To do this go to File>Options>Add-ins>Manage Excel Add-ins and uncheck the Maple Excel Add-in box.
Restore any "WMIMPLEX" files.
Note: It may help to fully reinstall Maple of the same architecture as Excel, which will overwrite all files related to the link, including system files (e.g. maplec.dll).
Recreate the link from within Excel. Instructions on how to do this can be found in our help pages here.
Important: Point to the "WMIMPLEX" file of the correct architecture:
C:\Program Files\Maple 2021\Excel\WMIMPLEX64.xla
C:\Program Files (x86)\Maple 2021\Excel\WMIMPLEX.xla
Confirm that Maple has added its "bin" folder to the PATH key for excel.exe:
Confirm that the EXEPATH64 and PATH_0 string in
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Waterloo Maple\Maple 2021
key, point to the Maple bin folder and Maple installation folder respectively.
Test the link.
In a cell, enter the following: