2
1
I'm trying to prevent people from modifying (most) of my spreadsheet while still alowing them to use the sort function of the AutoFilter. What I've done so far is used the Worksheet_Change event and Application.Undo to automatically undo any values entered into cells that I don't want to be modified. This works great, except that it can't detect changes in formatting. Does anyone know of a means to trigger an event when the format (text/background color) of a cell is changed?
Thanks!
You mean to say that you want to reverse the Cell Fill Colour? Did you try Cells.Interior.Pattern = xlNone or Selection.Interior.ColorIndex = xlNone – Rajesh S – 2018-05-30T10:28:50.583
You should try protecting with UserInterfaceOnly, and see if it allows AutoFilter to work. – Lance Roberts – 2010-11-01T20:32:21.353