A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Are the buttons each contained within a cell?
And do you want the count to be displayed in the cell to the right of the respective button?
If so, try the following...
- For the macro or macros assigned to your buttons, add the following line of code at the end...
Call IncrementButtonCount
- Add the following code in the same module...
Private Sub IncrementButtonCount()
With ActiveSheet.Buttons(Application.Caller).TopLeftCell.Offset(, 1)
.Value = .Value + 1
End With
End Sub
Hope this helps!