LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Paste-Transpose macro needed



"Lars-Ã…ke Aspelin" wrote:

Try this

Sub paste_transpose()
Application.ScreenUpdating = False
Sheets("Sheet2").Activate
ActiveSheet.Cells(1, 1).Select
For i = 0 To 316
Sheets("Sheet1").Range("A1").Offset(i * 7, 0).Resize(6, 1).Copy
Selection.PasteSpecial Transpose:=True
Selection.Offset(1, 0).Select
Next i
Application.ScreenUpdating = True
End Sub

Sheet1 is the sheet where your data is
Sheet2 is the sheet to where you want to copy

Hope this helps / Lars-Ã…ke


YES!!!!!

Thank you!

When I tried to do this myself, I figured the wrong number of loops but even
if I had gotten that right, I didn't know Excel syntax. Thank you for helping
me!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I group and transpose data - macro help needed. Chris Mitchell Excel Worksheet Functions 4 January 20th 09 02:35 PM
Paste special transpose macro hhwar Excel Programming 2 February 21st 08 02:40 PM
how to create a copy/paste special/transpose macro? [email protected] Excel Discussion (Misc queries) 6 August 8th 07 06:07 AM
urgent transpose macro needed - barkiny[_12_] Excel Programming 2 April 6th 06 05:12 PM
Macro for one-click paste special transpose Victoria @ WB Excel Programming 3 September 23rd 05 01:43 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"