Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I want to set the range depending on a value derived by doing a vlookup in a range. The vlookup successfully retrieves the value and stores it in a string variable rsprangevalue. The retrieved value stored in rsprangevalue is: Worksheets("Parameters").Range("H3:K3") Next I want the range to be set using this value. The code used for this is Set rsprange = rsprangevalue (rsprange is declared as a Range variable) This fails with the "rsprangevalue" highlighted with the error message "Type Mismatch". Please help. Thanks in advance for the help. Regards, Raj |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help to in setting up a proper Vlookup table and formula | Excel Worksheet Functions | |||
Macro for setting range of Vlookup formula's | Excel Programming | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
VLOOKUP in a dynamic setting | Excel Worksheet Functions | |||
setting range().hidden=True causes range error 1004 | Excel Programming |