LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Cathy S.
 
Posts: n/a
Default Moving down one row in a macro

I am an inexperienced Excel user. I have a report in Excel using A1 through
A36000. I recorded the following macro. The macro works, but when I run it,
the new information uses the same row, covering up the previous information.
How can I get it to move down one row each time. (I want a1 through a20 to
go across a row at c1, then a21 through a40 to appear on the next row (c2),
etc.) If there is a way to get a macro to run through all 36000 cells at one
time, instead of running this macro over and over--that would be great too!

Sub Transpose()
'
' Transpose Macro
' Macro recorded 1/4/2005 by cstokley
'
' Keyboard Shortcut: Ctrl+t
'
Range("A1:A20").Select
Selection.Copy
Range("C1").Select
Range("C1").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=True
Range("A1:A20").Select
Application.CutCopyMode = False
Selection.Delete Shift:=xlUp
Range("C2").Select
End Sub

--
Thanks in advance for your help,
Cathy S.
 
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
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 1 December 13th 04 07:55 PM
Macro for moving sheets minhao Excel Discussion (Misc queries) 3 December 10th 04 08:09 AM
Executing macro for all worksheet from a different worksheet Biti New Users to Excel 3 December 8th 04 10:05 AM
Moving Down a Cell in Macro Anonymous Excel Discussion (Misc queries) 2 December 5th 04 09:50 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM


All times are GMT +1. The time now is 12:04 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"