Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Opening text files using macro

Look at this site Tom
http://www.cpearson.com/excel/imptext.htm

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Tom Arcati" wrote in message ...
I have been trying to write a macro that will open several
text files (Tab seperated text) and put them in several
worksheets within one workbook. This allows all date to
be compiled and graphed.

I can only get this to work if I "hard code" the text file
path and name in the macro. This is not what I need or
can use. What I want to do is have the file name defined
in a cell and have the macro get the file name from
there. This would allow the user enter the files he needs
to bring into the workbook.


I could not find any infomation for this in the help files.

Help please!

Tom



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
Opening Files - Macro Max2073 Excel Worksheet Functions 1 December 10th 09 06:06 AM
Opening text files Sandy5590 Excel Discussion (Misc queries) 0 October 15th 09 04:35 PM
Opening Files Using a Macro Mark Costello[_2_] Excel Discussion (Misc queries) 0 January 29th 08 03:48 PM
Macro for opening files that changes names [email protected] Excel Discussion (Misc queries) 1 May 12th 07 06:15 PM
Opening large text files freekrill Excel Discussion (Misc queries) 6 September 7th 05 04:44 AM


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