![]() |
Match
Im trying to see if a range of cells is in a range:d1:d30,
there's something slightly wrong with my code, help much appreciated With Worksheets("Proposals"). For i = 1 To 20 If(Application.match(.Cells(i, 2), Range("d1:d30"), 0)) Then ................................................. |
Match
try putting a period in front of Range
If Application.match(.Cells(i, 2), .Range("d1:d30"), 0) Then -- Don Guillett SalesAid Software "teresa" wrote in message ... Im trying to see if a range of cells is in a range:d1:d30, there's something slightly wrong with my code, help much appreciated With Worksheets("Proposals"). For i = 1 To 20 If(Application.match(.Cells(i, 2), Range("d1:d30"), 0)) Then ................................................ |
All times are GMT +1. The time now is 08:09 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com