hello,
i am trying to increment the cells that hold a numerical value within a range whilst ignoring blank cells.
i am using the code below, but it has no affect:
Set cellrange = Range("M8:M44").Cells.SpecialCells(xlCellTypeConstants)
For Each cell In cellrange
cell.Value = cell.Value + 1
Next
any help is greatly appreciated.
i am trying to increment the cells that hold a numerical value within a range whilst ignoring blank cells.
i am using the code below, but it has no affect:
Set cellrange = Range("M8:M44").Cells.SpecialCells(xlCellTypeConstants)
For Each cell In cellrange
cell.Value = cell.Value + 1
Next
any help is greatly appreciated.