Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm new at this, but I'm trying to create a macro with visual basic that
references an array. Can someone give me an example of this. The array is a 78 row, two column seperate s/s. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Are you manipulating an array on the worksheet or are your creating an
array in VBA? To create an array in VBA this is the dim statement Dim MyArray( 1 to 78, 1 to 2) as Variant to assign values MyArray( 1, 1) = 45 ' First row first column value is 45 MyArray( 1, 2) = Activesheet.Range("C2").value ' First row second column value is the value of cell C2 I do not know about manipulating worksheet arrays with code OCONUS wrote: I'm new at this, but I'm trying to create a macro with visual basic that references an array. Can someone give me an example of this. The array is a 78 row, two column seperate s/s. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
maybe it's simple with macro for this one? | Excel Worksheet Functions | |||
Simple macro | Excel Discussion (Misc queries) | |||
Quite simple macro, but I can't seem to fix it... | Excel Programming | |||
Simple Macro | Excel Programming | |||
Simple macro please | New Users to Excel |