Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default exporting data from Workbooks in Folder


Hi!

I have a folder containing about 300 Excel workbooks. These contain th
same Sheet names. ('Sequence Data' and 'Sequence Analysis')

Each Sheet is divided into several sectors, i.e. rows, with differen
headings.
I enclosed two examples.
I must collect all data, written in these different sectors of th
sheets, and write them in a workbook.

My idea is to loop through the Folder, and open each workbook.
Then look into their sheets, export available data written in sectors.

Taking the worksheet 'Sequence Data' as an example:
It contains the data sectors 'Primary Sequences', 'Derived Sequences'
and 'Electronic Sequences' as you can see in the enclosed files to thi
thread.
- The source data in 'Primary Sequences' is written in Range(B6:M9)
- 'Derived Sequences' - Range(B11:M14)
- 'Electronic Sequences' - Range(B16:M20)

Now I want to collect all data written in these sectors, into three ne
target worksheets.

My problem is to process many workbooks, and write their output into
corresponding target sheet,.

Perhaps there is a way to combine the two code examples, from thi
Link:
http://tinyurl.com/5ouc4

The first and the second approach (loop and manual selection of sourc
ranges).


Aem...Merry Christmas By the Way!!

Cheers
Juerge

+-------------------------------------------------------------------
|Filename: Gene_Examples.zip
|Download: http://www.excelforum.com/attachment.php?postid=4147
+-------------------------------------------------------------------

--
juergenkemete
-----------------------------------------------------------------------
juergenkemeter's Profile: http://www.excelforum.com/member.php...fo&userid=2524
View this thread: http://www.excelforum.com/showthread.php?threadid=49567

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
Exporting folder contents to excel or text format Sr. Bio Excel Discussion (Misc queries) 1 January 9th 06 06:51 PM
Exporting the same Excel macro to 60 workbooks [email protected] Excel Programming 2 January 20th 05 08:39 PM
Looping through workbooks in Folder teresa Excel Programming 2 December 29th 04 10:50 AM
Workbooks within a Folder - B-Lists teresa Excel Programming 0 December 12th 04 12:47 PM
Update WorkBooks in Folder Ron de Bruin Excel Programming 1 August 25th 04 06:20 PM


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