Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rich Cooper wrote:
Thanks for the help One last question, i have done that now i want to insert a value at the very end of the array. I want it to me a sheet call demog. So in the end my array will be (mkt1, mkt2....demog) Can i use ubound to do that and if so how? I greatly appreciate all the help. The number of elements in a one-dimensional array, myArray, is UBound(myArray) - LBound(myArray) + 1 regardless of whether the lower bound is 0, 1 or something else. To add another element you can use Redim Preserve myArray(UBound(myArray) + 1) myArray(UBound(myArray)) = "demog" Alan Beban |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a list of value from an array | Excel Worksheet Functions | |||
creating an array | New Users to Excel | |||
creating an array | Excel Worksheet Functions | |||
Creating array formulaes in macro | Excel Discussion (Misc queries) | |||
Creating an array | Excel Programming |