another little one

mariomenc

New Member
Joined
Aug 25, 2005
Messages
26
I'll like to know how to run a macro (lets call it macro1) if cell A1=B1 and run macro2 if A1<>B1

is this possible?

thanks
 

iggydarsa

Well-known Member
Joined
Jun 28, 2005
Messages
1,647
Code:
If Range("A1").Value=Range("B1").Value Then
    Macro1
Else
    Macro2
End If
 

Forum statistics

Threads
1,077,831
Messages
5,336,656
Members
399,094
Latest member
Learner2019

Some videos you may like

This Week's Hot Topics

Top