Problem: My boss is asking for the email template to come up (with the "To:" field populated) but be available to edit before sending.
I would imagine that there's an alternative to the .Send part of this code that will allow me to edit? Any input is greatly appreciated. (If it's complicated, I'll just tell him No - so don't knock yourself out with this one!)
Expand|Select|Wrap|Line Numbers
- Private Sub Command87_Click()
- Dim msgTxt As Variant
- Dim objOutlook As Outlook.Application
- Dim objMailItem As Outlook.MailItem
- Dim blnCreated As Boolean
- blnCreated = False
- Set objOutlook = New Outlook.Application
- Set objMailItem = objOutlook.CreateItemFromTemplate("\\C:\File\File\xxxx\xxxx\xxxx.oft")
- With objMailItem
- .To = Me.Text53
- .Send
- blnCreated = True
- End With
- End Sub