Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to compare values in two different worksheets within the same
workbook. So I want logic like for each c in range1 for each d in range 2 if c....value = d....value then do something end if next d next c The problem is that I can create the first range by using an active sheet. When I try to do a second range using worksheets(index) I get an error. What am I doing wrong? How do I do it correctly? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Ranges spanning worksheets | Excel Worksheet Functions | |||
how to merge ranges from multiple worksheets | Excel Worksheet Functions | |||
Copying ranges of data between worksheets | Excel Worksheet Functions | |||
Worksheets, Ranges & Unknowns | Excel Programming | |||
Comparing Ranges in two worksheets | Excel Programming |