Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assigning a one dimensional variant array to cells in a row works, but when
the code assigns the array to cells in a column, each cell in the range contains the first element from the variant array! I cannot find a way of transposing the variant This code works: The cells are in a row count = UBound(answer, 1) Range(ActiveCell, ActiveCell.Offset(0, count-1)).Formula = answer This code assigns the first element of the variant array to each cell in the column range. count = UBound(answer, 1) Range(ActiveCell, ActiveCell.Offset(count-1, 0)).Formula = answer Is there a way of making Excel asign the elements of the array to a column? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
asign a number to a text string | Excel Discussion (Misc queries) | |||
asign the next 10th as the due date. | Excel Worksheet Functions | |||
HOW TO ASIGN SAME NAME TO TWO DIFFERENT RANGES IN SEPARAT SHEETS | Excel Discussion (Misc queries) | |||
How can I asign a number value to a text line in Excel? | Charts and Charting in Excel | |||
variant array containing cel adresses convert to actual ranges-array | Excel Programming |