Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default extracting data to csv from multiple worksheets

I have a spreadsheet containing fund and benchmark performance data
over a fiver year period (60months). There are a number of funds
(approx 20), each stored on individual worksheets with the fund
shortname as the worksheet name.

I need to write a macro that will extract all of this data and insert
it into one large csv file which will then be imported into a sql
server table. The number of periods(months) and dates are excatly the
same for each fund and therefore the cell range to be extracted are
also the same across each worksheet (A5:D65). The first cell on each
worksheet also contains the fund shortname.

Questions a

1. How can extract cells A5:D65 from each worksheet into one large
xlcsv file?
2. For each fund added I need to add the fund shortname as the first
column for each period (month). The fund shortname is currently stored
in cell A1 on each worksheet.

I am a complete novice at this so I hope this makes sense.

Thanks
Steve

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
Link multiple worksheets while extracting data aj9000 Excel Worksheet Functions 0 September 28th 06 11:55 PM
Extracting Data from Multiple worksheets to a single worksheet Albie Excel Programming 2 August 24th 06 09:01 PM
extracting data from other worksheets peiwen Excel Worksheet Functions 2 July 3rd 06 10:42 AM
Extracting data from multiple worksheets into a list mnirula Excel Worksheet Functions 16 February 25th 05 08:52 PM
Extracting data from one row across multiple columns Sarah Excel Programming 1 September 7th 04 10:06 AM


All times are GMT +1. The time now is 11:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"