Hi,
I want to update values of ID row of my list box by adding 1 to them. But VBA shows me error. Can anyone help?
I want to update values of ID row of my list box by adding 1 to them. But VBA shows me error. Can anyone help?
Code:
Sub id_update()
Dim mn As ListColumns
Set mn = Worksheets("ShipReceive").ListObjects("tbl").ListColumns(1).DataBodyRange
For Each Cell In mn
Cell.Value = Cell.Value + 1
Next
End Sub