Worksheets("Sheet1").Range("A1:A5").Copy
Worksheets("Sheet2").Range("A1").PasteSpecial Transpose:=True
More Related Contents:
- Aggregate, Collate and Transpose rows into columns
- Save excel file multiple times with file names in another workbook.
- Read/Parse text file line by line in VBA
- How do I find the last column with data?
- Excel VBA: Answer gets “stuck”
- How to insert a picture into Excel at a specified cell position with VBA
- Save multiple sheets to .pdf
- Having multiple Excel instances launched, how can I get the Application Object for all of them?
- filter out multiple criteria using excel vba
- Excel VBA autofilter all but three
- How can I create a calendar input in VBA Excel?
- Cells.Find() Raises “Runtime Error 91: Object Variable or With Block Not Set”
- Excel VBA code to copy a specific string to clipboard
- Merge values of column B based on common values on column A
- How to import a table from web page (with “div class”) to excel?
- Concatenate cell data into another data if values matches
- How can I run VBA code each time a cell gets its value changed by a formula?
- How to convert 32 bit VBA code into 64 bit VBA code
- Loop through each row of a range in Excel
- Outputting Excel rows to a series of text files
- How to create a range from two ranges in VBA?
- XML parse VBA excel (function trip, & MSXML2.DOMDocument)
- Vlookup to copy color of a cell
- every possible combination of the contents of 2 columns in excel
- How to delete rows in Excel based on criteria using VBA?
- Macro to export MS Word tables to Excel sheets
- VBA: Modify chart data range
- VBA Excel simple Error Handling
- How to do a “Save As” in vba code, saving my current Excel workbook with datestamp?
- How to save semi-colon delimited csv file using VBA?