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: 1
Default copy multiple columns


Here's a code that would work for you,

Remember that you only have 256 columns though you can ony do this fo
64 rows


Code
-------------------
Sub CutPasteToRowA()
Range("A2").Select
Do Until ActiveCell = ""
ActiveCell.Range("A1:D1").Cut Destination:=Range("A1").End(xlToRight).Offset(0, 1).Range("A1")
ActiveCell.Offset(1, 0).Select
Loop
Range("A1").Select
End Sub

-------------------

--
Paul Morga
-----------------------------------------------------------------------
Paul Morgan's Profile: http://www.officehelp.in/member.php?userid=519
View this thread: http://www.officehelp.in/showthread.php?t=136929

Posted from - http://www.officehelp.i

 
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
Help to copy multiple columns to a spreadsheet Retread Excel Worksheet Functions 3 June 12th 08 08:29 PM
Copy the same 2 columns from multiple spreadsheets into one new sh Tas Excel Discussion (Misc queries) 0 December 7th 07 12:04 AM
VBA: Copy from columns on multiple worksheets ddate Excel Programming 0 October 27th 04 12:45 AM
Copy the row multiple times while translating the columns Anamik Excel Programming 2 October 26th 04 05:42 PM
Copy/Paste Function for multiple columns AF_INstructor Excel Programming 1 January 6th 04 09:10 AM


All times are GMT +1. The time now is 05:09 AM.

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"