Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Defined Name Range (Application.Match)
In my code, I'm trying to specify a defined Name range. The specific
defined Name to be used is determined by the contents of C29. I've tried the following which doesn't work. res = Application.Match(cell.Value, Range(Range("C29").Value), 0) If I use that exact range of the defined Name (as seen below), it works as expected. res = Application.Match(cell.Value, Range("L2:L50").Value, 0) Does anyone know how I get get this statement to work accuratly when referring to a defined Name range? Thanks, Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Run-time error '50290': Application-defined or object-defined erro | Excel Discussion (Misc queries) | |||
Application-Defined or Object-Defined Error on simple code | Excel Programming | |||
Application-Defined or Object-Defined Error on simple code | Excel Programming | |||
Application-defined or object-defined error on copy | Excel Programming | |||
Application-defined or object-defined error - missing the basics | Excel Programming |