Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dthmtlgod
 
Posts: n/a
Default Copying Rows

As an example.

I have a spreadsheet, columns A, B, C, D, E, F, G, H, I, J (with no column
names).
I need to copy three cells from each row into another spreadsheet.

I need to copy the value from column H, G, and A in that order.

What is the easiest way to do this?



  #2   Report Post  
 
Posts: n/a
Default

Are You looking to use a Macro to do this, and where on the new sheet
do you wish to start copying your data. I assume you want to copy the
three cells from H,G & A and paste them side by side on the new sheet
but I am not sure so I cant help till I know. Also need to know if the
other sheet is in the same workbook, Gimme some feedback... Mark

  #3   Report Post  
 
Posts: n/a
Default

Dthmtlgod:
I couldnt sleep last night and your question got me thinking so I
put together a Macro for you that will do the trick. Trouble is it is
too lengthy to copy here in a format that will be easily legible. If
you want me to send it to you, E-mail me @ and I'll
snap it to you as an attatchment.

  #4   Report Post  
Jai
 
Posts: n/a
Default Copying Rows

Hi,
I would create an array (if the datatypes are all the same - of the
required datatype or else of type variant). I would copy data from a row into
the array members and then use that to copy into the destination sheet. In
case multiple rows are involved, could create an arry of arrays 9 two
dimensionsal).

In case the number of rows is very large, it may be worth copying the
entire sheet to a new sheet, deleting the unwanted columns and then copying
and pasting the rows to get them in the right order.

Jai

" wrote:

Dthmtlgod:
I couldnt sleep last night and your question got me thinking so I
put together a Macro for you that will do the trick. Trouble is it is
too lengthy to copy here in a format that will be easily legible. If
you want me to send it to you, E-mail me @ and I'll
snap it to you as an attatchment.


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
Copying from columns to Rows scottsman78 Excel Discussion (Misc queries) 5 October 4th 05 04:46 PM
Copying formulas to new rows, 20000 times Box Excel Discussion (Misc queries) 3 September 2nd 05 02:20 PM
how i make a pgm in excel for copying all the rows to a new file . Copying after checking condition in Exce Excel Discussion (Misc queries) 1 April 3rd 05 06:43 PM
How Can I copy a sheet that has hidden rows without copying the h. ibrahim Excel Worksheet Functions 1 January 13th 05 01:25 AM
Copying Rows when hiding other rows Neutron1871 Excel Worksheet Functions 2 November 3rd 04 11:38 PM


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