Thread
:
check column -A- and fill out column -B- by vba
View Single Post
#
2
Posted to microsoft.public.excel.programming
Gary''s Student
external usenet poster
Posts: 11,058
check column -A- and fill out column -B- by vba
Sub surface()
n = Cells(Rows.Count, 1).End(xlUp).Row
For i = 1 To n
If Cells(i, 1).Value = 123 Then
Cells(i, 2).Value = "active"
End If
Next
End Sub
Reply With Quote
Gary''s Student
View Public Profile
Find all posts by Gary''s Student