FROGGER24
Well-known Member
- Joined
- May 22, 2004
- Messages
- 704
- Office Version
- 2013
- 2010
- Platform
- Windows
Would like some help in troubleshooting this loop
Dim lr As Long, i As Long
lr = Cells(Rows.Count, 3).End(xlUp).Row
For i = 2 To lr
Cells(i, 32).Value = Cells(i, 4).Value & " " & Cells(i, 6).Value
Cells(i, 34).Value = (Cells(i, 25).Value - Cells(i, 26).Value - Cells(i, 27).Value) / Cells(i, 18).Value ' Runtime error 13, type Mismatch
Next i
Thanks
Dim lr As Long, i As Long
lr = Cells(Rows.Count, 3).End(xlUp).Row
For i = 2 To lr
Cells(i, 32).Value = Cells(i, 4).Value & " " & Cells(i, 6).Value
Cells(i, 34).Value = (Cells(i, 25).Value - Cells(i, 26).Value - Cells(i, 27).Value) / Cells(i, 18).Value ' Runtime error 13, type Mismatch
Next i
Thanks