If condition

Joined
Mar 16, 2007
Messages
5
Reaction score
0
Hi Guys pls help me in this macro i am trying to copy if the condition is true...


Sub amith()
If Range("a1").Value = Range("b1").Value Then
select(a:a).copy
selection.copy
Else
Range("a3").Value = 44
End If
End Sub

thanks in advance..
have a great day....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top