Hi all,
Sub CminusO()
Dim LastRow As Long
LastRow = Cells(Rows.Count, "C").End(xlUp).Row
Range("S2:S" & LastRow) = Evaluate("C2:C" & LastRow & "-O2:O" & LastRow)
End Sub
I found this code from Rick Rothstein while searching older posts and it's perfect for me but i need to multiply it.
If you can help me i would be greatful.
This code for C-O=S but I have a workbook with 5 same sheet (with 3 columns) and need to multiply this code like;
C-D=E J-K=L P-Q=R
Thanks in advance for your help.
Sub CminusO()
Dim LastRow As Long
LastRow = Cells(Rows.Count, "C").End(xlUp).Row
Range("S2:S" & LastRow) = Evaluate("C2:C" & LastRow & "-O2:O" & LastRow)
End Sub
I found this code from Rick Rothstein while searching older posts and it's perfect for me but i need to multiply it.
If you can help me i would be greatful.
This code for C-O=S but I have a workbook with 5 same sheet (with 3 columns) and need to multiply this code like;
C-D=E J-K=L P-Q=R
Thanks in advance for your help.