Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default copying data from several files to one excel file

Hi,

I am working on a project which involves copying certain data from several
excel spreadsheets to a target excel spreadsheet. The source excel
spreadsheets are thousands in number and are formatted in a certain way so
that the cells can be specified for copying.

Opening and closing the source excel files is very tedious. Is there a way
to open an excel source file, copy the data to the target, kill the source
file and then repeat this process with the second source file till we
complete the entire set of excel source files using a macro?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default copying data from several files to one excel file



"sharman" wrote:

Hi,

I am working on a project which involves copying certain data from several
excel spreadsheets to a target excel spreadsheet. The source excel
spreadsheets are thousands in number and are formatted in a certain way so
that the cells can be specified for copying.

Opening and closing the source excel files is very tedious. Is there a way
to open an excel source file, copy the data to the target, kill the source
file and then repeat this process with the second source file till we
complete the entire set of excel source files using a macro?



Certainly achievable using VBA but the specific code depends on how the data
to be copied out is structured, if the data structure differs between
workbooks and where the data is to be pasted in the main workbook.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default copying data from several files to one excel file

Thanks for the reply. All the source excel sheets have data that is in 3
columns that start from row 18 and it certainly does not go beyond row 67. It
has to be pasted in the target excel sheet in the same format - in 3 columns.
The first source sheets's data goes in rows 1 thru 50 on the target sheet,
the second sheet's data starts from row 51 and ends in row 100 on the target
sheet and so forth.

"Matt Lunn" wrote:



"sharman" wrote:

Hi,

I am working on a project which involves copying certain data from several
excel spreadsheets to a target excel spreadsheet. The source excel
spreadsheets are thousands in number and are formatted in a certain way so
that the cells can be specified for copying.

Opening and closing the source excel files is very tedious. Is there a way
to open an excel source file, copy the data to the target, kill the source
file and then repeat this process with the second source file till we
complete the entire set of excel source files using a macro?



Certainly achievable using VBA but the specific code depends on how the data
to be copied out is structured, if the data structure differs between
workbooks and where the data is to be pasted in the main workbook.




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 data from access to excel creates a bitmap file senior needs help Excel Worksheet Functions 0 August 8th 07 10:46 PM
copying data from access to excel creates a bitmap file senior needs help Excel Worksheet Functions 0 August 8th 07 10:46 PM
Copying Multiple files in one file Macro - Liz Liz New Users to Excel 2 March 13th 07 02:45 PM
Macro copying info/data in multiple excel files into one summary file. Jskasango Excel Programming 10 April 6th 06 08:27 AM
copying data from text file to excel sheet sreedhar[_15_] Excel Programming 1 October 17th 05 01:25 PM


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