I have a range of cells where I would like a tick to appear when I type anything in the cell.
At the moment I have the following macro which works:
![]()
Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "$B$2" Then If Target.Value <> 0 Then Range("B2").Value = "ü" End If End Sub
With this macro if I type anything other than "0" in cell B2, the value in cell B2 will change to a tick.
I would like to apply this macro to multiple cells, e.g. if I type anything in cell D5 I want cell D5 to change to a tick. if I type anything in cell F13 I want cell F13 to change to a tick. Etc
I understand that I could just copy the macro over and over again and change each cell value but that would be time consuming.
I am wondering if I can change the target address and the target value to cell "n" so that any change in a cell will only result in a tick appearing in that particular cell.
Also just thought I'd add that the cells I would like to apply my macro to range from B2 till I18
Bookmarks