Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default import multiple txt files in worksheet and formating


Hello,
I'm newbie in macro but i know something of programing.
My problem is somthing like this:

I have folder with multiple txt files (eg. 546.txt. 432.txt, 343.txt)
Content of every file have same formating but different data

546.txt
-----------------
Header
Number: 546
Value1: 1345 675
Value2: 323 245
Value3: 4322 343

432.txt
-----------------
Header
Number: 432
Value1: 32 444
Value2: 78766 245
Value3: 12 714

Importing delimiter that i have to used is "fixed width" because i
cannot get good import. For Values row there is two numbers i need that
are delimited with multiple spaces (not tabs).

From every file in working folder i want to import only rows Value

And would like to my excel sheet look like this:

Number Value1 Value2 Value2
432 32 78766 12
432 444 245 714
546 1345 323 4322
546 675 245 343


Can someone help me with this?


--
-haf-
------------------------------------------------------------------------
-haf-'s Profile: http://www.excelforum.com/member.php...o&userid=37229
View this thread: http://www.excelforum.com/showthread...hreadid=569378

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default import multiple txt files in worksheet and formating


nobody knows, or nobody helps

--
-haf
-----------------------------------------------------------------------
-haf-'s Profile: http://www.excelforum.com/member.php...fo&userid=3722
View this thread: http://www.excelforum.com/showthread.php?threadid=56937

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 text files into a single worksheet Scott Excel Discussion (Misc queries) 0 January 13th 05 10:22 PM
Import of multiple .CSV files into Excel Ayato[_10_] Excel Programming 0 July 8th 04 06:02 PM
Multiple txt files import Arnie[_4_] Excel Programming 4 June 9th 04 12:38 AM
formating multiple excel .csv files ? Gerry Rigney Excel Programming 4 October 22nd 03 10:10 AM
Import multiple files macro can't find files Steven Rosenberg Excel Programming 1 August 7th 03 01:47 AM


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