Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Sheet "Printers" I have a column of over 15K rows.
Every 8 rows the data in Col A repeats. I want to copy the corresponding cells in column B and Transpose them into Sheet1 so the data in B aligns under the headings from col A. So I am using a Search and Find to pick my next batch of rows to copy. When I do the paste, my data is screwed up. Can anyone see where I have gone wrong. I am self taught and not too good on VB. Thanks in advance. Paul I have the following code: Sub PstTranspose() ' Sheets("Printers").Activate Cells.Find(What:="Text Description", After:=ActiveCell, LookIn:=xlValues, LookAt:= _ xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _ False, SearchFormat:=False).Activate ActiveCell.Offset(1, 1).Select Range(ActiveCell, ActiveCell.Offset(7, 0)).Select Selection.Copy Worksheets("Sheet1").Activate Range("A1").Select Selection.End(xlDown).Select ActiveCell.Offset(1, 0).Select Selection.End(xlUp).Select Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=True ActiveSheet.Paste End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
advanced paste special transpose | Excel Discussion (Misc queries) | |||
paste special transpose problem | Excel Discussion (Misc queries) | |||
Transpose, Paste Special | Excel Discussion (Misc queries) | |||
Paste Special / transpose | Excel Discussion (Misc queries) | |||
When I special paste and transpose.... | New Users to Excel |