I am wanting to utilise colour changing buttons to essentially highlight a button when pressed. After 1 or 2 seconds, I'd like the button to revert back to the original colour. Is this possible? This is what I have so far...
VBA Code:
Sub SetColor(v)
Dim cell As String
cell = ActiveCell.Address
ActiveSheet.Shapes.SelectAll
Selection.ShapeRange.Fill.ForeColor.RGB = RGB(175, 171, 171)
ActiveSheet.Shapes(v).Fill.ForeColor.RGB = RGB(0, 204, 153)
Range(cell).Activate
End Sub
VBA Code:
Sub Offerings1()
Application.ScreenUpdating = False
Call SetColor(Application.Caller)
Worksheets("Offerings").Range("c7,e7,g7,i7").Interior.ColorIndex = xlNone
End Sub