Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Parsing a text file to a excel or word form

Hello,

Is it possible to make a script that will read a text file and input the
information into a form made in either excel or word?

The text file would be from a html form that would be emailed to me. Below
is a sample of what the text file would look like. It would always be
formatted the same but some fields may not always be filled out.

Requestors name=name
Application =EE
Source=199
Track=8888
CA=ADD
NV=REM
NM=NO CHANGE
AZ=REM
B1=Submit

Any input is greatly appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Parsing a text file to a excel or word form

just open the file in Excel, then do text to columns on with delimited and
choose = as the delimiter. Then move the data values to the appropriate
places in anothersheet.

You can get most of the code just by doing it manually with the macro
recorder turned on (in that case, you would use the open text wizard and
that would replace using text to columns).

--
Regards,
Tom Ogilvy

"Johndeerrm" wrote in message
...
Hello,

Is it possible to make a script that will read a text file and input the
information into a form made in either excel or word?

The text file would be from a html form that would be emailed to me. Below
is a sample of what the text file would look like. It would always be
formatted the same but some fields may not always be filled out.

Requestors name=name
Application =EE
Source=199
Track=8888
CA=ADD
NV=REM
NM=NO CHANGE
AZ=REM
B1=Submit

Any input is greatly appreciated.




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
Problem with links form a word file to excel graphs SavvasC Links and Linking in Excel 3 June 23rd 09 08:00 AM
Import text from Word Form to Excel CBER Excel Discussion (Misc queries) 1 September 13th 07 04:52 PM
Link Word form to Excel source file [email protected] Excel Discussion (Misc queries) 0 September 30th 06 04:39 PM
Issue with parsing text file into worksheet primrose Excel Programming 1 May 25th 05 05:09 PM
Parsing imported text file with macro... help! scrupul0us[_2_] Excel Programming 0 September 7th 04 10:13 PM


All times are GMT +1. The time now is 06:56 PM.

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"