ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Paste Special Transpose (https://www.excelbanter.com/excel-programming/338619-paste-special-transpose.html)

Brian

Paste Special Transpose
 
Is there an easy way to combine the "Paste Link" and "Transpose" features of
the Past Special command?

For example, if

A1 = 100
A2 = 200
A3 = 300

in one command (or macro, setkey, etc) I'd like to past into cells B1:D1 the
following:

B1 = $A$1
C1 = $A$2
D1 = $A$3

Thanks.

Tom Ogilvy

Paste Special Transpose
 
Range("B1:D1").formula = "=OFFSET($A$1,COLUMN()-1,0)"
Range(A1:A3").copy
Range("B1:D1").Pastespecial xlFormats

might be a work around.
--
Regards,
Tom Ogilvy

"Brian" wrote in message
...
Is there an easy way to combine the "Paste Link" and "Transpose" features

of
the Past Special command?

For example, if

A1 = 100
A2 = 200
A3 = 300

in one command (or macro, setkey, etc) I'd like to past into cells B1:D1

the
following:

B1 = $A$1
C1 = $A$2
D1 = $A$3

Thanks.





All times are GMT +1. The time now is 09:06 PM.

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