Shortcut for attaching the same file repeatedly

Status
Not open for further replies.

RJL

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server 2013
I frequently attach one specific file to outgoing messages (i.e., it is the same file every time). I am looking for a short cut for doing this. I have already put the attach-file command on the quick access bar. Unfortunately, I do not want to put the text into the body of the message because it contains images, so Quick Steps doesn't help me.

Ideally, I'd like to click an icon or use a keyboard shortcut to attach this file. I am using Outlook 2013 with Windows 10.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Can you use a macro? i have some here - although they are a bit more than you need but could trim the middle out to make it perfect to open a message with the file attached.
Use a Macro to Attach Files to New Messages

But.. you have to think to run the macro and it doesn't help if you reply with attachment (although a macro could do that too) It might be better to have a macro that adds the attachment to the message you are composing when you run it - like this simple macro - run it any time you are composing a message to add the attachment.

Code:
Public Sub AddAttachment()
    Dim objItem As Object
   Set objItem = Application.ActiveInspector.CurrentItem
   
       strAtt = "D:\path\to\file.docx"
    objItem.Attachments.Add strAtt

    Set objItem = Nothing

End Sub
 

RJL

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server 2013
A macro would be fine. However, I have not used macros before, though I have tried to create a macro to solve this problem by creating a macro by recording a sequence of steps. It didn't work.

What does the macro below do? Is there a place you can point me to that would show me how to install the macro?

Actually, in some cases I will attach the file when replying to messages as well as when composing a new message.

Thanks for your help.

Can you use a macro? i have some here - although they are a bit more than you need but could trim the middle out to make it perfect to open a message with the file attached.
Use a Macro to Attach Files to New Messages

But.. you have to think to run the macro and it doesn't help if you reply with attachment (although a macro could do that too) It might be better to have a macro that adds the attachment to the message you are composing when you run it - like this simple macro - run it any time you are composing a message to add the attachment.

Code:
Public Sub AddAttachment()
    Dim objItem As Object
   Set objItem = Application.ActiveInspector.CurrentItem
  
       strAtt = "D:\path\to\file.docx"
    objItem.Attachments.Add strAtt

    Set objItem = Nothing

End Sub
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
A macro would be fine. However, I have not used macros before, though I have tried to create a macro to solve this problem by creating a macro by recording a sequence of steps. It didn't work.

What does the macro below do? Is there a place you can point me to that would show me how to install the macro?

Actually, in some cases I will attach the file when replying to messages as well as when composing a new message.

Thanks for your help.
The macro I posted will work on any compose message (new or replies) - but you need to click a button to run it. It's not automatic.

This shows how to use macros How to use Outlook's VBA Editor


Sent from my iPad using Tapatalk
 

RJL

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server 2013
The macro works! However, I'm having trouble finding the file that needs to be digitally signed. What is the filename?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
if you are digitally signing the macro, you will sign the entire macro project through the vb editor, not sign a specific file.
 

RJL

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server 2013
Thanks for the quick response. I mis-read the instructions on the VBA editor, re-checked and figured out my mistake.
Thanks for all your help. This did the trick.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
G How to add a folder shortcut to outlook quick access toolbar? Using Outlook 5
N Outlook Email Rule execution through shortcut keys (VBA codes) Using Outlook 1
M Shortcut to another outlook item Using Outlook 0
M Contact group shortcut Using Outlook 3
R Toggle the Reading Pane using Keyboard Shortcut Using Outlook 0
S Shortcut/button to a Calendar Group Using Outlook 0
M Mark Complete keyboard shortcut... on a mac running Windows Bootcamp Using Outlook 0
B Can't create shortcut to Quickparts Using Outlook 3
iwshim word shortcut to search outlook Using Outlook 3
O Address Book Shortcut Using Outlook 4
M Trouble using keyboard shortcut for color categories in Outlook 2016 Using Outlook 3
S Desktop shortcut Using Outlook 1
Q shortcut to more stationery Using Outlook 4
A Shortcut for sending complete mail Using Outlook 1
I jump to body in open message with one keyboard shortcut? Using Outlook 3
T Column Header Keyboard Shortcut Available? Using Outlook 5
D VBA: Send-From Code for Template Shortcut? Using Outlook 0
D Selection of Send-From Account with Template VBA Shortcut Using Outlook 0
W keyboard shortcut to open Outlook... ? Using Outlook 2
S OL 2010 shortcut to edit received mail Using Outlook 3
L Shortcut to specific contact Using Outlook 4
C Want to Create Shortcut to Open Specific Calendars at the Same Time Using Outlook 2
S Shortcut for adding a recepient email id? Using Outlook 2
E Outlook Calendar Shortcut Using Outlook 3
M Exchange 2010 Unified Messaging - What is the Shortcut Command to bypass a greeting to leave a voice Exchange Server Administration 2
M Shortcut Key Needed Working with Dialog Box while Inserting Hyperlink in a Contact Using Outlook 1
J What is the shortcut key to turn on or off digital signature? Using Outlook 1
W New contact shortcut (cntrl+shift+c) not working when in Outlook Today Using Outlook 2
M Suddenly Outlook will not stay open when I double click on the shortcut. It opens for a few seconds but then it shuts down Using Outlook 1
R Adding shortcut to Outlook 2007 calendar event in Windows 7 Using Outlook 2
P Would like to find a shortcut to close all open Outlook messages at the same time Using Outlook 4
M How to make a shortcut to someone else his mailbox Using Outlook 1
L Exchange 2010 SP1 Exchamge Management Shell shortcut missing. Exchange Server Administration 8
B Paste Shortcut to an Outlook Item Using Outlook 1
S OL2010: Keyboard Shortcut for Smart Tags Using Outlook 1
S Find Related Messages Option Grayed Out in Shortcut Menu (Outlook 2010) Using Outlook 7
C Restore Outlook 2007 Shortcut Key Using Outlook 3
T Is it possible to INSERT a string into email body via Shortcut. Outlook VBA and Custom Forms 2
M re-Attaching PSTs after upgrade to 2016 Using Outlook 0
P Outlook Randomly Not attaching (attachment file) Using Outlook 0
D Attaching date named files Using Outlook 3
L Creating a Task from Email and Attaching Original Email Outlook VBA and Custom Forms 6
D Attaching email conversations to tasks Using Outlook 2
R When attaching XLS file to email, it switches to Excel (if already opened) instead of attaching the file Using Outlook 2
D attaching a file Using Outlook 1
K Outlook 2010 prohibits me from attaching large files to emails Using Outlook 1
E stop outlook from automaticly attaching a contact form to outgoing emails Using Outlook 2
D Attaching a file to outgoing e-mail Using Outlook 2
Z New problem attaching items to emails! Using Outlook 2
K Have Windows 7 with Outlook 2003 - problem with attaching photo to emails - can't make photo smaller Using Outlook 2
Similar threads


















































Top