Copy Multiple Columns From Multiple Excel Files & Paste Into 1 Workbook - Page 2 - Excel Help & Excel Macro Help
SEARCH ENTIRE SITE LOADING..

Excel Help & Excel Best Practices Forums

 

Proudly Affiliated With: Intelligent Converters & AnalyserXL <Affiliate Program & ExcelUser Affiliate>

 

SPECIALS PAGE FOR BARGAINS | FREE EXCEL TRAINING | FREE CUSTOM FUNCTIONS ADD-IN


Go Back Excel Help & Excel Macro Help > HELP FORUMS > EXCEL HELP
HOME Register Forum Help Calendar Search For Today's Posts Mark Forums Read

Reply

Copy Multiple Columns From Multiple Excel Files & Paste Into 1 Workbook

ANSWERS TO SIMILAR QUESTIONS
Master Workbook For Multiple Files With Multiple SheetsCopy Sheets From Multiple CSV Files Into WorkbookCopy Range From Multiple Sheets & Paste To Another WorkbookCopy Rows Meeting Multiple Criteria On Multiple Columns



Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com

Create Excel dashboards quickly with Plug-N-Play reports.


 
Thread Tools Search this Thread
Old 1 Week Ago
Intelligent Converters
FREE DOWNLOADS
File/Password Recovery
pnssassin pnssassin is offline
I agreed to these rules
 
I'm a Spammer: NO
MS Office Version: 2003 English
Op System: Windows XP
Assumed Experience: Poor (know the very basics)
Join Date: 7th November 2009
English is 1st Language: Yes
Posts: 7 -- Threads: 0
Re: Copy Multiple Columns From Multiple Excel Files & Paste Into 1 Workbook

Dave i dont think you read my question or the code i gave you. Can you please re-read it and give me a complete answer? you answers are very vague.
__________________
ADS BY OZGRID. FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..
Print [Post / Thread] Reply With Quote
Old 1 Week Ago
Dave Hawley's Avatar
Dave Hawley Dave Hawley is offline
Administrator
 
I'm a Spammer: NO
MS Office Version: 2007 English
Op System: Windows Vista
Assumed Experience: Above Average
Join Date: 24th January 2003
English is 1st Language: Yes
Location: Australia
Posts: 49,234 -- Threads: 15169
Re: Copy Multiple Columns From Multiple Excel Files & Paste Into 1 Workbook

You gave me code? Your questions are very vague.
Print [Post / Thread] Reply With Quote
Old 1 Week Ago
Intelligent Converters
FREE DOWNLOADS
File/Password Recovery
pnssassin pnssassin is offline
I agreed to these rules
 
I'm a Spammer: NO
MS Office Version: 2003 English
Op System: Windows XP
Assumed Experience: Poor (know the very basics)
Join Date: 7th November 2009
English is 1st Language: Yes
Posts: 7 -- Threads: 0
Re: Copy Multiple Columns From Multiple Excel Files & Paste Into 1 Workbook

I have five files:

a.xls
b.xls
c.xls
d.xls
Combined.xls

Files a, b, c, and d all have a set of information in them. I want to copy the data from each file a, b, c, d from cell A10 to Nx and paste it into combined.xls one after another.

The combined.xls would look like:

data from a.xls
data from a.xls
data from a.xls
data from a.xls
data from b.xls
data from b.xls
data from b.xls
data from c.xls
data from c.xls
data from c.xls
data from c.xls
data from d.xls
data from d.xls

As you can see not all of them have the same amount of data. That’s why I used the Nx. The range starts from A10 but ends at N and the FRIST BLANK SPACE. Sometimes its 200 sometimes it s 250 sometimes is 142. So basically it’s a static range. Now the two difficult parts of this which I need your help on is 1) Finding the range on the original files from A10 to the first blank space for each file: a,b,c,d 2) Pasting them one after another with out overwriting the previous in combined.xls.
__________________
ADS BY OZGRID. FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..
Print [Post / Thread] Reply With Quote
Old 1 Week Ago
Dave Hawley's Avatar
Dave Hawley Dave Hawley is offline
Administrator
 
I'm a Spammer: NO
MS Office Version: 2007 English
Op System: Windows Vista
Assumed Experience: Above Average
Join Date: 24th January 2003
English is 1st Language: Yes
Location: Australia
Posts: 49,234 -- Threads: 15169
Re: Copy Multiple Columns From Multiple Excel Files & Paste Into 1 Workbook

Change;
VB: AutoLinked keywords will cause extra spaces before keywords. Extra spacing is NOT transferred when copy/pasting, but IS if the keyword uses "quotes".
. Range(Cells(1, lCol), .Cells(.Rows.Count, lCol).End(xlUp)).Copy
To
VB: AutoLinked keywords will cause extra spaces before keywords. Extra spacing is NOT transferred when copy/pasting, but IS if the keyword uses "quotes".
. Range(Cells(10, lCol), .Cells(.Rows.Count, lCol).End(xlUp)).Copy
Print [Post / Thread] Reply With Quote
Reply Lifetime Upgrade To Ad Free Styles

   « PREVIOUS If Cell Has Value & Corresponding Cell Does Not, Color It || Refresh Query When Opening Workbook NEXT »
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 21:57.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ozgrid is Not Associated With Microsoft. Ozgrid Retains the Rights to ALL Posts and Threads