Insert file paths for attachments into message on send.

A

architimmy

I'm new to VBA so please excuse any overtly obvious questions I might
ask.

I am trying to create a macro that will run each time a user sends a
message. Before sending, the macro will check the message for
attachments and then write the file paths for those attachments into
the message (preferrably the end or end of most recent comment if a
discussion). This is primarily to track document transmissions without
having to retain the (large) attachment files on the network or
locally.

Principly I am interested in how one can automate this process to run
each time a message is sent. Of course some coaching on some other
issues like identifying the message object and pulling it's attachment
collection, how one can loop over the collection and the syntax for
creating and adding to a String variable (with line breaks) works in
VBA.

Once again apologies for any overly obvious (and yes I admit lazy)
questions.

Thanks!
Tim
 

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