column copy

C

climate

Hi
I have 63 files and need to copy same coloumn of all files (column X) to a
new file (rain.xls). in fact, i need to a macro, when open any file and run
macro on worksheet, then copy of column X send to new file(rain.xls)
respectively.
Finally, new file (rain.xls) consist of 63 column in sheet1.

thank's
regards
climate
 
D

Don Guillett

Different ways.
You could use a macro using DIR to either make a list or to open each
file>copy>paste to next column in destination file>close... Or, make a
formula as the top row of each column in the destination folder and copy
down to the anticipated last row>change to values..
 
C

climate

Ok
How can i do it ?
regards

Don Guillett said:
Different ways.
You could use a macro using DIR to either make a list or to open each
file>copy>paste to next column in destination file>close... Or, make a
formula as the top row of each column in the destination folder and copy
down to the anticipated last row>change to values..

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(e-mail address removed)


.
 
D

Don Guillett

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top