Does anyone have any code to check for a specific reference, whether it is missing? (SFDCExcelAddin)

The only examples I have found after extensive searching are for VB not VBA

I have code which creates menu items dependent on whether or not certain references are present.