Outlook Attachment Location

Full_Williams

Registered User.
Local time
Today, 03:32
Joined
Jul 2, 2002
Messages
88
I'm sending an email from Outlook through MS Access VBA. Does anyone know if there's a way to specify the location of the attachment. Right now it's just poping up in the in the middle of the email text and the people with screen readers are having problems with it. If I can put it at the bottom of the page that would be perfect.

My code for the attachment is:

Set objOutlookAttach = .Attachments.Add(strFullName)

Any help is appreciated.

Thanks,
Full Williams
 
Full_Williams said:
If I can put it at the bottom of the page that would be perfect.

Try something like this:
Code:
With objMailItem
Set objOutlookAttach = .Attachments.Add(strFullName)

.body = .body & chr(13) & chr(10)

objOutlookAttach.position = len(.body)
end with

Havent tried it yet but attachment.position sets the position of an attachment in body of the item and is a long integer. :)
 
Last edited:

Users who are viewing this thread

Back
Top Bottom