Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm loading a range into an array by
using the statement: Dim x As Variant x = Range("NamedRange") Is there a fast an easy way to round all of the items either as they are loaded into the array or after? I need to round it to 2 decimal places. Or do I have to loop through the entire array. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Looping through the array is what you have to do, but it isn't that slow
usually. -- Regards, Tom Ogilvy " wrote in message oups.com... I'm loading a range into an array by using the statement: Dim x As Variant x = Range("NamedRange") Is there a fast an easy way to round all of the items either as they are loaded into the array or after? I need to round it to 2 decimal places. Or do I have to loop through the entire array. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom .....
I'm surprised you don't ask for a fee for all this knowledge.... |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Randomly Re-arrange Entries in an array. | Excel Discussion (Misc queries) | |||
rounding values in in array before sum | Excel Worksheet Functions | |||
Rounding in an array | Excel Discussion (Misc queries) | |||
How to count dates within a certain range in a column with mutiple date range entries | Excel Worksheet Functions | |||
Vertical Entries for VBA.Array | Excel Programming |