Inactiver183192
New Member
- Joined
- Jun 12, 2011
- Messages
- 15
Hi I'm just trying to copy an array from worksheet inputs that so many rows down and then copy it to the worksheet "data" however my second line doesn't work. What would be wrong with this?
Also i then want to copy the array into Cell (9,4) or D9 but transpose my vArray. is there a quick way or should I just go the pastespecial transpose way?
Thanks all!
[CODE
Dim Last As Long
Dim vArray()
LastRow = Worksheets("Inputs").Range("C2").End(xlDown).Row
vArray = Worksheets("Inputs").Range(Cells(2, 3), Cells(LastRow, 3)).Value
Worksheets("Data").Range(Cells(9, 4), Cells(9, LastRow)).Value = vArray
[/CODE]
Also i then want to copy the array into Cell (9,4) or D9 but transpose my vArray. is there a quick way or should I just go the pastespecial transpose way?
Thanks all!
[CODE
Dim Last As Long
Dim vArray()
LastRow = Worksheets("Inputs").Range("C2").End(xlDown).Row
vArray = Worksheets("Inputs").Range(Cells(2, 3), Cells(LastRow, 3)).Value
Worksheets("Data").Range(Cells(9, 4), Cells(9, LastRow)).Value = vArray
[/CODE]