![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I need to use outlook to send the same pdf file as an attachment to any one who requests it. All I want to do is this. After the new mail form is launched (by clicking on the recipient's email address) I want a button, or something, that will automatically insert the subject and body text (which will always be the same for every mail) attach the pdf (which will always have the same filename and be stored in the same location), and send the mail.
I'm sure this is very easy and that I'm missing something obvious but I've searched for hours and can't find what I need. Any help would be very much appreciated. |
Ads |
#2
|
|||
|
|||
![]() You can access the email via Application.ActiveInspector.CurrentItem It has a Body, and a Subject property, and an Attachments.Add funtion. For an example see the VBA help file. -- Best regards Michael Bauer - MVP Outlook Category Manager - Manage and share your categories: SAM - The Sending Account Manager: http://www.vboffice.net/product.html?lang=en Am Thu, 13 May 2010 10:47:07 +0100 schrieb steve sharpe: I need to use outlook to send the same pdf file as an attachment to any one who requests it. All I want to do is this. After the new mail form is launched (by clicking on the recipient's email address) I want a button, or something, that will automatically insert the subject and body text (which will always be the same for every mail) attach the pdf (which will always have the same filename and be stored in the same location), and send the mail. I'm sure this is very easy and that I'm missing something obvious but I've searched for hours and can't find what I need. Any help would be very much appreciated. |
#3
|
|||
|
|||
![]()
Hello Michael
I'm still stuck. Thankyou for your reply which has enabled me to write a macro that works but I can't find a way to attach it to a button on the email ribbon. Since I only want a short message to be automated it does not save time if I have to open developer and run the macro manually. Is there a way to but a button on the message ribbon that will run the macro directly? I still feel like I'm missing something... Thankyou for your help. I'm a complete novice at this stuff. Best regards Steve post Quote:
|
#4
|
|||
|
|||
![]() For instance, for OL07 right click the toolbar of the email window, then Edit Quick Access Toolbar (or similar). Select macros, then drag the macro's name to the pane right hand. -- Best regards Michael Bauer - MVP Outlook Category Manager - Manage and share your categories: SAM - The Sending Account Manager: http://www.vboffice.net/product.html?lang=en Am Mon, 17 May 2010 12:04:22 +0100 schrieb steve sharpe: Hello Michael I'm still stuck. Thankyou for your reply which has enabled me to write a macro that works but I can't find a way to attach it to a button on the email ribbon. Since I only want a short message to be automated it does not save time if I have to open developer and run the macro manually. Is there a way to but a button on the message ribbon that will run the macro directly? I still feel like I'm missing something... Thankyou for your help. I'm a complete novice at this stuff. Best regards Steve post 'Michael Bauer [MVP - Outlook Wrote: ;348866']You can access the email via Application.ActiveInspector.CurrentItem It has a Body, and a Subject property, and an Attachments.Add funtion. For an example see the VBA help file. -- Best regards Michael Bauer - MVP Outlook Category Manager - Manage and share your categories: SAM - The Sending Account Manager: http://www.vboffice.net/product.html?lang=en Am Thu, 13 May 2010 10:47:07 +0100 schrieb steve sharpe: - I need to use outlook to send the same pdf file as an attachment to any one who requests it. All I want to do is this. After the new mail form is launched (by clicking on the recipient's email address) I want a button, or something, that will automatically insert the subject and body text (which will always be the same for every mail) attach the (which will always have the same filename and be stored in the same location), and send the mail. I'm sure this is very easy and that I'm missing something obvious but I've searched for hours and can't find what I need. Any help would be very much appreciated.- |
#5
|
|||
|
|||
![]()
Hi Michael
Thanks very much, You solved my problem. Best regards Steve Quote:
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro creation for Outlook insert subject | damadhatter | Outlook and VBA | 1 | August 6th 09 09:06 PM |
Set off VBA macro on email receipt then that macro accesses the emailcontent | [email protected] | Outlook and VBA | 3 | February 5th 09 01:14 AM |
Macro creation involving rules off/on | Mike | Outlook and VBA | 1 | October 15th 07 03:47 PM |
Differentiate between drag & drop email task creation and normal task creation | Mohit | Add-ins for Outlook | 1 | April 18th 07 06:54 AM |
Macro Creation | Jim Patterson | Outlook and VBA | 1 | February 1st 06 06:23 PM |