ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Swop rows for columns Excel or Word (https://www.excelbanter.com/excel-discussion-misc-queries/88535-swop-rows-columns-excel-word.html)

Click

Swop rows for columns Excel or Word
 
How do I swop rows for columns in an Excel or Word table?

Ragdyer

Swop rows for columns Excel or Word
 
Select the range (rows or columns),
Right click in the selection and choose "Copy",
Right click in the first cell of the new location and choose "PasteSpecial",
Click on "Transpose", then <OK.

Make sure there's *no* overlap of old and new ranges.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Click" wrote in message
...
How do I swop rows for columns in an Excel or Word table?



Ardus Petus

Swop rows for columns Excel or Word
 
To swap col B and C:

Columns("B:B").Cut
Columns("D:D").Insert Shift:=xlToRight

HTH
--
AP

"Click" a écrit dans le message de news:
...
How do I swop rows for columns in an Excel or Word table?





All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com