I'd like to disable changing the format of the cell except making font bold. Is there any way to achieve that?
Obviously,
.Protect AllowFormattingCells:=True enables all possible format changes.
I've thought that maybe making custom button on Ribbon could serve for this (i.e. unprotecting sheet, making the content bold and protecting again), but I wonder whether there is some more convenient approach to this problem.
I've come across similar issue at http://www.excelforum.com/excel-programming-vba-macros/676299-use-vba-to-lock-all-cell-formatting-except-background-color.html - but it also remains unsolved.
.Value, you'd compare the old and new formatting, and revert to the old formatting if the change was something else than bold font. - Jean-François Corbettthe Application.EnableEvents = False- bonCodigo