PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
RE: modify a .txt file programatically
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
RE: modify a .txt file programatically
![]() |
RE: modify a .txt file programatically |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Yes, you are on the right track - VB's intrinsic Open statement allows for
basic file I/O operations. I prefer using the TextStream object from the Microsoft Scripting Runtime Library - it is easier and more intuitive to use. FYI, this topic isn't really related to Outlook VBA. You should direct further posts on this subject to microsoft.public.vb.general.discussion or microsoft.public.scripting.vbscript. -- Eric Legault - B.A, MCP, MCSD, Outlook MVP -------------------------------------------------- {Private e-mails ignored} Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault/ "V.Chu" wrote: > I wrote a VB module to transfer every new e-mail(report) from outlook inbox > to a txt file,but when I open up the .txt file, it actually contains the > from, send subject lines, > > Is it possible to open up this txt file programatically delete them?? > > From: Peter Pan > Sent: Friday, August 06, 2004 3:10 AM > To: John smith > Subject:Q2 report > > Finanical Q2 Report > 1111 1111 > 1111 > 222 > 333 > 445 > 556 > 777 > > I suppose that there are some codes like > > Close #1 > Open stFullpath For Output As #1'??? > : > : > : > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

