Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim TextLine
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Dim fs, f
Dim RTFBody, strTo
Dim MyApp As New outlook.Application
Dim MyItem As outlook.MailItem
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.OpenTextFile("tblTable.rtf", ForReading)
RTFBody = f.ReadAll
f.Close
'==========================
'OR
'==========================
Open "tblTable.rtf" For Input As #1
Do While Not EOF(1)
Line Input #1, TextLine
RTFBody = RTFBody & TextLine
Loop
Close #1
'==========================
'Then email
'==========================
Set MyItem = MyApp.CreateItem(olMailItem)
With MyItem
.To = "me@hotmail.com"
.Subject = "SubjectLine"
.Body = RTFBody
End With
MyItem.Display
End Sub
JerryKlmns (IS/IT--Management) 29 Aug 05 10:50
If you dont select the Microsoft Scripting Runtime
Dim fs As Object
Dim f As Object
Else
Dim fs As Scripting.FileSystemObject
Dim f As Object