Hi,
Apologies if this has been answered somewhere but the only other instance of this question I found had no responses, I'm hoping to be more lucky!
I have a workbook with several Active X controls on one sheet, if I close the workbook there is no problem but closing Excel (if there are no other workbooks open) throws the 'Method or data member not found' and highlights one of the combobox_onchange events. This procedure references other controls which appear to have been removed already as Excel quits and leads to the error. Commenting this procedure out shows that no other controls are generating the error.
Can I somehow force the controls to be discarded in a particular order so that the referenced controls are still in place when the combobox is discarded? Are there any other techniques I can try to overcome this? Any and all suggestions gratefully received, thank you.
Apologies if this has been answered somewhere but the only other instance of this question I found had no responses, I'm hoping to be more lucky!
I have a workbook with several Active X controls on one sheet, if I close the workbook there is no problem but closing Excel (if there are no other workbooks open) throws the 'Method or data member not found' and highlights one of the combobox_onchange events. This procedure references other controls which appear to have been removed already as Excel quits and leads to the error. Commenting this procedure out shows that no other controls are generating the error.
Can I somehow force the controls to be discarded in a particular order so that the referenced controls are still in place when the combobox is discarded? Are there any other techniques I can try to overcome this? Any and all suggestions gratefully received, thank you.