I wonder if you can help me with this:
Ranges B11:B251 & C11:C251 may or may not have some values. I want to be able to copy non blank cells from cell ranges M1
This piece of code should do the trick:
Sub CopyRangeToRange() Dim CpyFrom As Range Dim Cell As Range Set CpyFrom = ActiveSheet.Range("M11:N251") For Each Cell In CpyFrom If Cell.Value <> vbNullString Then Cell.Offset(0, -11).Value = Cell.Value End If Next Cell End Sub