Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
RANGE MACRO
I am trying to compare two ranges of data. if those ranges are the same i
would like to delete one of them because it is a dup. How do i do this in macros. what would be the syntax. i tried: Range("A3:E3").Select ActiveWorkbook.Names.Add Name:="RANGE1", RefersToR1C1:=Selection Range("A4:E4").Select ActiveWorkbook.Names.Add Name:="RANGE2", RefersToR1C1:=Selection If Range("RANGE1") = Range("RANGE2") Then Range("RANGE2").Delete |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro deletes row in range, macro then skips the row moved up | Excel Discussion (Misc queries) | |||
Macro to copy a specified range to a variable range | Excel Programming | |||
Macro won't execute when "For Each 'range' in 'range'" is added | Excel Programming | |||
Set Range in one macro to range in another | Excel Programming | |||
Macro to input formula in range based on another range | Excel Programming |