Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I am looking for a more elegant (and shorter) solution to grab the content of an excel range into an array: Dim grab Dim value() grab = Range("A1:A100").Value2 ReDim value(1 To UBound(grab)) For i = 1 To UBound(grab) value(i) = grab(i, 1) Next i I could just use the array grab but then I have to carry a two dimensional syntax all the way, although I know that grab only contains one column. Or is there a simple instruction to "destroy " one of the dimensions of an array? Thanks ina advance Charles |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Elegant solution for two comparisons | Excel Discussion (Misc queries) | |||
Need More Elegant Solution - Simple Program | Excel Programming | |||
Is there an elegant solution to this table? | Excel Discussion (Misc queries) | |||
Working Hours (formula & graph) - any elegant solution? | Excel Worksheet Functions | |||
elegant programmed solution to local minima with constraints | Excel Programming |