I want to make a loop so i can compare the data from both these columns and display whether it is approved or not for my Uerform but rightr now i can only do one row at a time. Please help!! This is my current code:
>>> use code - tags <<<
>>> use code - tags <<<
Code:
Sub Approval()
Dim ws As Worksheet
Set ws = Worksheets("Sheet1")
'calculate if a cell is greater than a specific value
If ws.Range("M3") > ws.Range("S3") Then
ws.Range("V3") = "Not Approved"
Else
ws.Range("V3") = "Approved"
End If
End Sub
Attachments
Last edited by a moderator: