simongilder
Board Regular
- Joined
- Nov 3, 2011
- Messages
- 68
Hi There,
Iam trying to write a simple macro using an IF statement which does the following
Looks in values in Column A, if the value is X, then multiply the corresponding value in Column Y by -,, otherwise, do nothing.
Can anybody help?
I began with
For i = 1 To 65536
If Cells(i, 1).Value = "B" Then .....
End If
Not very far at all really!
Can anybody help?
many thanks
Simon
Iam trying to write a simple macro using an IF statement which does the following
Looks in values in Column A, if the value is X, then multiply the corresponding value in Column Y by -,, otherwise, do nothing.
Can anybody help?
I began with
For i = 1 To 65536
If Cells(i, 1).Value = "B" Then .....
End If
Not very far at all really!
Can anybody help?
many thanks
Simon