LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Transpose to Non-adjacent Cells

I'm trying to transpose selected rows of data from a worksheet to columns on
multiple worksheets, however the transposed columnar data will be on
non-adjacent rows. I loop through the rows, columns, and worksheets. Part
of the code within the loops is:

Sheets("Equip").Activate
Range(Cells(m, 2), Cells(m, 5)).Copy
Sheets(s).Cells(7, c).PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True

Sheets("Equip").Range(Cells(m, 7)).Copy
Destination:=Sheets(s).Range(Cells(12, c))

The transpose part of the code works, but I don't know why the second part
fails where I'm just trying to copy a single cell.

Any help?



 
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
compare 2 column cells and return the adjacent columns cells data of the cell trebor57 Excel Worksheet Functions 1 February 1st 11 02:54 PM
Compare 1 cell to column of cells returning adjacent cells info? Mr. Fine Excel Worksheet Functions 1 April 15th 10 07:36 PM
Add cells on two adjacent rows but non-adjacent columns Eve Excel Worksheet Functions 14 October 20th 09 02:32 AM
transpose array of non-adjacent cells ignite ice Excel Worksheet Functions 3 June 18th 09 09:58 AM
Transpose a text string while copying adjacent column data to new willc Excel Worksheet Functions 5 May 31st 07 08:20 PM


All times are GMT +1. The time now is 01:21 AM.

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

About Us

"It's about Microsoft Excel"