Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range error
Why does this return an error?
Dim Unknown As Range Unknown = Range("K24") oldjay |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range error
Range is an object and so you need to use the Set Statement which assigns an
object reference to a variable or property. Refer help on Set statement.... Dim rngTemp As Range Set rngTemp = Range("K24") 'will refer to the activesheet cell K24 -- Jacob "oldjay" wrote: Why does this return an error? Dim Unknown As Range Unknown = Range("K24") oldjay |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range error
Thanks I never know where to look in help. I think Help is for experts not a
dummy like me "Jacob Skaria" wrote: Range is an object and so you need to use the Set Statement which assigns an object reference to a variable or property. Refer help on Set statement.... Dim rngTemp As Range Set rngTemp = Range("K24") 'will refer to the activesheet cell K24 -- Jacob "oldjay" wrote: Why does this return an error? Dim Unknown As Range Unknown = Range("K24") oldjay |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Subscript out of range error - save copy error | Excel Programming | |||
Subscript out of range error - save copy error | Excel Programming | |||
Range.Select error and screen maximizing error in Workbook_Open() | Excel Programming | |||
Range.Select error and screen maximizing error in Workbook_Open() | Excel Programming | |||
Type Mismatch error & subscript out of range error | Excel Programming |