V
Vacuum Sealed
Hi All
Still haven't got over the For Each hurdle yet, a lot of learning still
to be had.
Sub ConvertPental()
Dim myStep12 As Range
Dim c As Object, myPalls As Range
Set sWS = Sheets("Import")
Set myStep12 = sWS.Range("H3:H25")
For Each c In myStep12
If c.Offset(0, -3).Value > 0 Then
With c
.Value = .Offset(0, -3).Value + .Offset(0, -2).Value * 44
End With
End If
Next c
End Sub
This throws up:
Run-Time Error '424' Object required
As always
Any assistance is appreciated.
TIA
Mick.
Still haven't got over the For Each hurdle yet, a lot of learning still
to be had.
Sub ConvertPental()
Dim myStep12 As Range
Dim c As Object, myPalls As Range
Set sWS = Sheets("Import")
Set myStep12 = sWS.Range("H3:H25")
For Each c In myStep12
If c.Offset(0, -3).Value > 0 Then
With c
.Value = .Offset(0, -3).Value + .Offset(0, -2).Value * 44
End With
End If
Next c
End Sub
This throws up:
Run-Time Error '424' Object required
As always
Any assistance is appreciated.
TIA
Mick.