Getting a Type Mismatch error on the line in Red, any ideas why? But if I take out the * 1.4503 it will take the value from Cell (0, 5) and put it in Cell (0, 9)
VB Code:
Sub Macro3() Dim MyCell3 As Range For Each MyCell3 In Sheet1.Columns("D").Cells With MyCell3 If .Value = "" Then Exit For If .Value <> "OMI" Then [COLOR=Red].Offset(0, 9).Value = .Offset(0, 5).Value * 1.4503[/COLOR] Else .Offset(0, 9).Value = .Offset(0, 5).Value End If End With Next MyCell3 End Sub


Reply With Quote
