willinbrief
New Member
- Joined
- Feb 1, 2018
- Messages
- 4
Hey guys,
This is my first post so please bare that in mind.
I am working with a software that outputs a ton of data and I need to move data from "G1:G300" to "I1:I300" but only in the cases where the "I" column's cells are blank and have no value.
This is what I have so far:
Sub ChangeCellz()
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
Set WorkRng = Range(I1:I2000)
For Each Rng In WorkRng
If Rng.Value = 0 Then
Rng.Value = xCell.offset(0,-3).Value
End If
Next
End Sub
Thanks for any help
-William Salisbury
This is my first post so please bare that in mind.
I am working with a software that outputs a ton of data and I need to move data from "G1:G300" to "I1:I300" but only in the cases where the "I" column's cells are blank and have no value.
This is what I have so far:
Sub ChangeCellz()
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
Set WorkRng = Range(I1:I2000)
For Each Rng In WorkRng
If Rng.Value = 0 Then
Rng.Value = xCell.offset(0,-3).Value
End If
Next
End Sub
Thanks for any help
-William Salisbury