Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a one step way to paste an array into a spreadsheet without having
to cycle through each element? I have a 9 x 9 array and I want to paste it into cells A1 to I9. Thanks, Kaval |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Kaval,
Sub Tester01() Dim arr(1 To 9, 1 To 9) As Variant Dim i As Long, j As Long For i = 1 To 9 For j = 1 To 9 arr(i, j) = i * j Next j Next i Sheets("Sheet3").Range("A1:I9").Value = arr End Sub --- Regards, Norman "Kaval" wrote in message ... Is there a one step way to paste an array into a spreadsheet without having to cycle through each element? I have a 9 x 9 array and I want to paste it into cells A1 to I9. Thanks, Kaval |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cannot Copy/Paste Array Formula | Excel Worksheet Functions | |||
Paste Array | Excel Discussion (Misc queries) | |||
Select an array of cells and paste to separate worksheet - 2nd post - 1st didn't work!! | Excel Programming | |||
Finding ranges in an array, cut and paste also. | Excel Programming | |||
lookup array and paste value | Excel Programming |