ASKER
ASKER
Sheets("Print Calendar").Range("B55").Resize(,31).Value = arrYear
Note, I've used Resize(,31) to expand the destination range for the data by 31 columns.
ASKER
ASKER
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
TRUSTED BY
Open in new window
Note the above code will produce a 2-dimensional array with the dimensions 1 to 1, 1 to 365, i.e. 1 row and 365 columns, if you like.