Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - Import Data for manipulation from multiple text files

I have to gather information from an unknown number of text files wit
unknown filenames and import it into an excel document for dat
manipulation. Each .txt file contains a series of data points entere
by a data collection device. Each trial creates a new txt file an
data file with no extention. Both can be imported into excel, but
need to program a macro that will import data from these unknown numbe
of files into a single worksheet in which the data can be compared an
analyzed.

I was wondering if there was a way to search through a folder and mov
from one file to the next possibly pulling title information along wit
the data within the file.

There are usually 30 to 40 files each containing amost 100 data point
each. The macro would prevent the tedious task of opening/importin
all txt files and pasting them in an excel sheet. Please contact me a
if anyone has any pointers of functions that
might be able to research and apply. Thanks

--
Message posted from
http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - Import Data for manipulation from multiple text files

See the examples for the Dir function in VB Editor help which will do
what you want.

Make a new post with a copy of your code if you get stuck.


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - Import Data for manipulation from multiple text files

Thanks for the pointer. Now that I have some direction we'll see wher
I go

--
Message posted from http://www.ExcelForum.com

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
Import Multiple XML Files into Excel Mungkol Excel Discussion (Misc queries) 3 January 22nd 09 01:37 PM
import multiple csv files into excel 2007 Annie - torston Excel Discussion (Misc queries) 1 January 15th 09 06:24 AM
Import multiple text files (Macro) Thr33of4 Excel Discussion (Misc queries) 0 September 19th 06 02:19 AM
Import multiple text files into a single worksheet Scott Excel Discussion (Misc queries) 0 January 13th 05 10:22 PM
Import multiple text files into excel Wally Steadman[_2_] Excel Programming 1 November 15th 03 04:14 PM


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