Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Text File from string (Outlook 2003)

    I want to create a text file which contents will be the subject line of a selected message. I know how to extract the subject line as a string variable. How can I then take this string and make it the contents of a text file??

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: Text File from string (Outlook 2003)

    You can use the old Basic instructions for manipulating text files:

    Open "C:test.txt" For Output As #1
    Print #1, strVariable
    Close #1

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Text File from string (Outlook 2003)

    I think in addition to "Output" there might be an "Append" option in case you are adding the new subject lines to a list of older ones.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •