Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have some code that needs to refer to ranges a fair bit and was wondering if there are any differences speed wise between (a) referring to named ranges ie. x = range("Name")(j,i).value and (b)actually setting a range equal to a named range in the code ie. set MyRange = range("Name") x = myrange(j,i).value is there even any difference at all between these two methods? I was wondering if once set it would be faster to get values from MyRange than to get them from range("Name"), if this is true there must be some overhead in setting MyRange. So there must be a point after accessing the range a number of times where setting MyRange becomes more efficient. I can test all this for myself but was just wondering if anybody could give me some info first as to whether I would be wasting my time. kind regards, Tim |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Join non-contiguous ranges into one range via named range? | Excel Discussion (Misc queries) | |||
Charting only Used Range with Named Ranges | Charts and Charting in Excel | |||
setting a range using a named list in vba | Excel Programming | |||
Setting PrintArea by using Named Ranges | Excel Programming | |||
Setting named range in VBA- how to set as formula/reference instead of text string? | Excel Programming |