Open the JChemExcelContextMenu.xml
file for edition. The default folder is the following:
C:\Users\<Current User>\AppData\Roaming\ChemAxon\JChem for Excel
Select a menu item that you want to hide from the context menu, for example, Add/Edit and set its visibility to FALSE
.
Save the modified XML file as JChemExcelContextMenu_Custom.xml
. The default folder is the following:
C:\Users\<Current User>\AppData\Roaming\ChemAxon\JChem for Excel
Add some new actions, for example, ImportFileAction
to the context menu. Add the new actions as new rows to a selected section of the JChemExcelContextMenu.xml
file.
Save the modified XML file as JChemExcelContextMenu_Custom.xml
. The default folder is the following:
C:\Users\<Current User>\AppData\Roaming\ChemAxon\JChem for Excel
Paste a ImportFileAction
.png
file into the Images
folder to provide an icon for the new button. The default folder is the following:
C:\Users\<Current User>\AppData\Roaming\ChemAxon\JChem for Excel\Images
The ImportFileAction.png
file already exists in the Images
folder.
The original JChemExcelContextMenu.xml
file is loaded automatically instead of the customized file when starting Microsoft Excel if there is any problem with the customization.
The modifications described above must be done in the original JChemExcelContextMenu.xml
file
and it must be re-packed in the installer.