LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Transposing text in text file to Excel Sheet.

Hi,

I am working on a code which will process a text file (TempFile.txt),
which contains a data copied from an Outlook .msg file containing a
table (single table-2 Columns data). The text file contains text
extracted from various MS Outlook .msg files & copied to a
TempFile.txt.

The data in generated textfile looks like :

Agent's Name
Thomas Rody

Gender
Male

etc....

What i want to do is to transpose the data under the same labels used
as Column Headers in an Excel sheet.


Code will look something like....

Sub ProcessTempFile(TempFileName as String, Datasheet as Worksheet)
....

I donot know how to extract data from a text file & tranpose
horizontally under each header column e.g.

Column A Column B Column C Column D
---------------------------------------------------
Agent's Name Thomas Rody Gender Male

Please Help!

 
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
Split text file into Excel sheet and separate the final results intoa new sheet Luciano Paulino da Silva Excel Worksheet Functions 8 April 18th 09 02:00 AM
Exporting Excel Sheet With Additional Info Added To A Text File SouthernBoy718 Excel Discussion (Misc queries) 1 July 12th 08 05:55 AM
Problems Autosaving an excel file/sheet as Text MaxFrance Excel Discussion (Misc queries) 0 March 25th 05 09:49 AM
Excel VBA - open text file, replace text, save file? Cybert Excel Programming 2 October 2nd 04 01:05 AM
How do I read text file in an EXCEL SHEET AMIT Excel Programming 2 December 31st 03 04:27 AM


All times are GMT +1. The time now is 09:52 AM.

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

About Us

"It's about Microsoft Excel"