Search notes:

Excel: worksheetFunction.transpose

Writing a VBA array vertically to cells

worksheetFunction.transpose creates a «vertical» version of a VBA array so that the array's values can be written downwards on a worksheet.
option explicit

sub main() ' {

    dim days   as variant : days   = array("Mon", "Tue", "Wed", "Thu", "Fri")
    dim region as variant : region = array("South", "East", "West", "North" )

    cells(3,2).resize(5,1).value = worksheetFunction.transpose(days)
    cells(2,3).resize(1,4).value = region

end sub ' }
Github repository about-MS-Office-object-model, path: /Excel/WorksheetFunction/transpose/write-array-to-cells.bas
Compare with writing a 2D array to a worksheet.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1745905042, '3.14.73.0', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Excel/Object-Model/WorksheetFunction/transpose/index(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78