You're going to have to parse the contents of that cell to extract the worksheet
name and the address.
After you do that, you can use:
dim wksName as string
dim RngAddr as string
...some routine to parse those strings
set rsprange = thisworkbook.worksheets(wksname).range(rngaddr)
===
If I were you, I'd use two cells--one for the worksheet name and one for the
address of the cell.
with thisworkbook.worksheets("sheet3")
set rsprange = thisworkbook.worksheets(.range("b1").value) _
.range(.range("C1").value)
end with
Depending on what the name of that sheet and the address, it could make life
lots easier.
> Hi,
>
[quoted text clipped - 18 lines]
> using vlookup. I am restating the problem after stripping extraneous
> matter.

Signature
Dave Peterson
Raj - 31 Jul 2008 17:44 GMT
Dave,
Exactly the pointers I was looking for.
I have adopted the "If I were you" approach.
Thanks, once again.
Regards,
Raj
> You're going to have to parse the contents of that cell to extract the worksheet
> name and the address.
[quoted text clipped - 44 lines]
>
> Dave Peterson