I have a spreadsheet in Excel, that I would like to prevent users from being able to merge cells.
Protecting the sheet is not an option, as users must be able to set the colours of cells.
I wanted to try to detect, through VBA, any Merging of cells and then undo the action, however, it appears that any of the OnEvents of a worksheet, do not trigger on merging cells (OnChange triggers on de-merging, but not on merging).
Is there something that I am missing?
Protecting the sheet is not an option, as users must be able to set the colours of cells.
I wanted to try to detect, through VBA, any Merging of cells and then undo the action, however, it appears that any of the OnEvents of a worksheet, do not trigger on merging cells (OnChange triggers on de-merging, but not on merging).
Is there something that I am missing?