![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
What is the VB code to append the body of an email to a text file?
|
Ads |
#2
|
|||
|
|||
![]()
Am Sun, 10 Sep 2006 13:56:01 -0700 schrieb j:
This sample allows you to append the text to a file: Public Sub WriteFile(ByRef Path As String, _ ByRef Text As String, _ Optional ByVal bAppend As Boolean _ ) On Error GoTo AUSGANG Dim FileNr As Long FileNr = FreeFile Select Case bAppend Case False Open Path For Output As #FileNr Case Else Open Path For Append As #FileNr End Select Print #FileNr, Text; AUSGANG: If FileNr Then CloseFileHandle FileNr End Sub -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- What is the VB code to append the body of an email to a text file? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
append text at specific location in the message | newbies | Outlook and VBA | 3 | August 11th 06 02:01 PM |
File content to be the text body of mail | [email protected] | Outlook and VBA | 1 | August 3rd 06 01:23 PM |
Adding HTML text to the email body for each recipient | Tom at GSD | Add-ins for Outlook | 2 | July 7th 06 12:25 AM |
How do I append text to the body of a email? | Beginner | Outlook and VBA | 2 | February 9th 06 10:36 PM |
Dragging an email to the Calendar drops the email body text | yan | Outlook - Calandaring | 2 | February 1st 06 02:23 AM |