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,082,478
Messages
5,365,783
Members
400,850
Latest member
Raj_Jpr

Some videos you may like

This Week's Hot Topics

Top