Insert File

J

JayM

I currently have a macro(written for MS Word) which inserts a selected file
from a directory.

Sub GeneralUsertextClauses()
With Dialogs(wdDialogInsertFile)
..name = varUSERTEXT
..Show
End With
End Sub

varusertext is referenced as follows:
Global Const varUSERTEXT As String = "w:\zzword97\usertext\"

How can I ensure that the selected file isn't an attachment when used with
Outlook but is just inserted into the body of the text (word is my editor)?

JayM
 
K

Ken Slovak - [MVP - Outlook]

You can't. You'd need to be using the Outlook object model and adding an
attachment using Outlook code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top