Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Code to tranpose table

Please help me with vb or macros to tranpose Table 1 to Table 2 for any
number of entries. The courses in a row should be made into only one course
in a row as shown in Table 2.

Table 1
Trainer Room 25-Jun-05 26-Jun-05 27-Jun-05 28-Jun-05 29-Jun-05
Trainer1 Room1 CSB00 CSB00 CSB00
Trainer2 Room2 CSB01 CSB01

Table 2
Trainer Room 25-Jun-05 26-Jun-05 27-Jun-05 28-Jun-05 29-Jun-05
Trainer1 Room1 CSB00
Trainer1 Room1 CSB00
Trainer1 Room1 CSB00
Trainer2 Room2 CSB01
Trainer2 Room2 CSB01



--
JA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Code to tranpose table

I don't think this is exactly what you need, but it'll help

Sub Macro8()
Range("M1:P7").Select 'What to copy
Selection.Copy
Range("Q2").Select 'Where to paste it
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=True
End Sub

Reply
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
Tranpose data from columns to rows heyredone Excel Worksheet Functions 4 November 21st 08 03:21 AM
Excel 2002: Any formula to tranpose columns into rows ? Mr. Low Excel Discussion (Misc queries) 5 March 3rd 07 02:22 PM
how do i tranpose one row to multiple column? ALEX Excel Worksheet Functions 1 September 28th 05 04:33 PM
Tranpose? TARZAN Excel Discussion (Misc queries) 2 April 21st 05 04:14 PM
Open txt file with more than 256 columns (how to tranpose in rows)? uriel78 Excel Discussion (Misc queries) 1 February 12th 05 02:16 AM


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"