Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default Collating stock market data

Dear Friends

I have 1 blank excel file and around 200+ text files in the folder c:
\stock.

Here is a sample data in each text file. Name of the file
PARAMOUNT.TXT

PARAMOUNT.NS,20100226,09:01:00,521.00,521.40,517.2 0,519.00,1677
PARAMOUNT.NS,20100226,09:02:00,520.00,520.90,520.0 0,520.00,1872
PARAMOUNT.NS,20100226,09:03:00,519.25,519.95,518.0 0,518.70,1783
PARAMOUNT.NS,20100226,09:04:00,518.00,518.00,516.0 5,517.50,859
PARAMOUNT.NS,20100226,09:05:00,517.50,518.00,516.7 0,516.70,1466
PARAMOUNT.NS,20100226,09:06:00,517.80,519.00,517.0 0,519.00,1191

Is it possible to write a macro that will take data from these text
files for all the companies at a specific time as per user request?
For example, I want to retrieve data at 09:05 from all the files in
one excel file. If a data is not available at 09:05 then take data for
the next minute 09:06 or 09:07 etc.

Thanks
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
Getting stock market prices HappySenior[_2_] Excel Programming 8 September 12th 08 01:25 AM
Stock Market Calculation Stock Market Calculation Excel Worksheet Functions 2 February 5th 08 02:34 PM
Link for Stock Market info Hatter Links and Linking in Excel 3 January 21st 08 09:10 PM
Stock Market data issue orangedays Excel Discussion (Misc queries) 3 April 21st 06 01:10 PM
Stock Market Challenge mevetts Excel Discussion (Misc queries) 7 January 17th 06 08:55 PM


All times are GMT +1. The time now is 11:12 PM.

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"