Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just to add...
Using a dynamic array instead of a fixed size array allows one to assign to the array (provided you are using a later version of Excel)... Public Sub Suffy() Dim vColumns() As Variant Dim i As Integer ReDim vColumns(0 To 6) vColumns = Array("A", "B", "C", "D", "E", "F", "G") For i = 0 To 6 Debug.Print vColumns(i) Next i End Sub ----------- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Working with ranges in arrays... or an introduction to arrays | Excel Programming | |||
Arrays - declaration, adding values to arrays and calculation | Excel Programming | |||
excel arrays | Excel Programming | |||
arrays in excel | Excel Worksheet Functions | |||
Arrays in Excel VBA | Excel Programming |