I'm trying to add a comment to each cell of the second column in an excel sheet with a For Each Loop. I would like to write the cell address (e.g. $B$1) into the comment. This is my code so far, but it doesn't work. I can't figure out what goes wrong. Sorry, I'm a noob and don't know how to get the references to the cells in the second line of the loop to work:
Sub TestZelladresse()
Dim rng As Range
Dim cell As Range
Set rng = Columns(2)
For Each cell In rng
.AddComment (Address(cell))
Next cell
End Sub