Macro for Reply All in 2013 Outlook

Status
Not open for further replies.

Smv622

Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
I am looking for assistance in a macro for reply all in Outlook 2013. Our company has disabled the reply all function as a deterrent for reply all errors, but my position requires that I communicate with many individuals several times a day and it is very inefficient and several individuals are accidentally omitted from communications.

I had previously used the following in 2010 with no issue, but it doesn't seem to work in 2013. Any suggestions or alternates would be greatly appreciated.


Public Sub ReallyReplyAll()
Dim o As MailItem
Set o = Application.ActiveExplorer.Selection.Item(1)
o.ReplyAll.Display
End Sub
 
Does not function as it did in Outlook 2010.

I utilized the macro, added a custom button in the tool bar in 2010. Clicked on an email and hit the button - it worked fine. In 2013, I followed the same process. Click the button and nothing happens. No error.
 
Trust center/Macros: notifications for all macros is selected. Not sure if that is what you mean by executed.
 
If you select a message and run the macro from the editor, does it work? There is nothing wrong with the macro. Are you notified when you restart outlook? You need to allow macros everytime you start outlook, or self sign it and change the setting to always run signed and trusted macros.
 
When I run the macro from the editor, I actually get an activity! But it's an error message: Object variable or with block variable not set.

Also - in Office 2013, the Digital Cert for VBA tool is not present so I am not sure how to make a self-signed cert without it..

Suggestions?
 
selfcert is in C:\Program Files\Microsoft Office 15\root\office15 - or in the same path under x86 program files.

Is anything in this macro highlighted in yellow? Do you have other macros? It's possible the error is in another macro - all macros can be checked when you run one, depending on the type of macro they are.
 
Nothing is highlighted in yellow. No other macros. I found the selfcert and applied it as well. Still receiving the error.

Thank you all for your patience. I am sure that I am missing something silly...
 
It's this exact macro? There are no quotes to be in the wrong format... there is really nothing that can be wrong in it. It's meant for selected messages, not opened ones.

Code:
Public Sub ReallyReplyAll()
Dim o As MailItem
Set o = Application.ActiveExplorer.Selection.Item(1)
o.ReplyAll.Display
End Sub
 
The error means that either o is nothing, or o.ReplyAll returns nothing. This will clarify it, paste it after setting the o variable:
Code:
if o is nothing then
  msgbox "no selection"
else
  dim r as MailItem
  set r=o.ReplyAll
  if r is nothing then
    msgbox "seems ol 2013 doesn't ignore your company settings anymore"
  else
     r.Display
  endif
endif
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Macro to Reply to Emails w/ Template Outlook VBA and Custom Forms 3
N Line to move origEmail to subfolder within a reply macro Outlook VBA and Custom Forms 0
A Outlook 2016 Macro to Reply, ReplyAll, or Forward(but with composing new email) Outlook VBA and Custom Forms 0
T Macro to move reply and original message to folder Outlook VBA and Custom Forms 6
L Macro/VBA to Reply All, with the original attachments Outlook VBA and Custom Forms 2
S Outlook Macro to move reply mail based on the key word in the subjectline Outlook VBA and Custom Forms 0
Healy Consultants Macro to remove inside organization distribution list email address when reply to all recepients Outlook VBA and Custom Forms 0
B Reply and replyall macro is not working Outlook VBA and Custom Forms 1
H send reminder if no reply received on first or original email using macro Using Outlook 2
S Outlook Macro Reply to a message Outlook VBA and Custom Forms 1
reza Macro to automatic reply using orignal mail Outlook VBA and Custom Forms 10
B Auto reply using macro include original email Using Outlook 4
L Outlook 2007 Macro Reply to E-mail Using Outlook 16
M Reply Macro using O365 Connected Account Using Outlook 2
A Macro in Outlook for auto-reply Using Outlook 3
S Outlook 2003: Help with setting up a macro to reply to selected emails Using Outlook 2
M Auto-reply with macro whether logged in to outlook or not Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
X Run macro automatically when a mail appears in the sent folder Using Outlook 5
mrrobski68 Issue with Find messages in a conversation macro Outlook VBA and Custom Forms 1
G Creating Macro to scrape emails from calendar invite body Outlook VBA and Custom Forms 6
M Use Macro to change account settings Outlook VBA and Custom Forms 0
C Outlook - Macro to block senders domain - Macro Fix Outlook VBA and Custom Forms 1
Witzker Outlook 2019 Macro to seach in all contact Folders for marked Email Adress Outlook VBA and Custom Forms 1
S macro error 4605 Outlook VBA and Custom Forms 0
A Macro Mail Alert Using Outlook 4
J Outlook 365 Outlook Macro to Sort emails by column "Received" to view the latest email received Outlook VBA and Custom Forms 0
J Macro to send email as alias Outlook VBA and Custom Forms 0
M Outlook Macro to save as Email with a file name format : Date_Timestamp_Sender initial_Email subject Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
D Outlook 2016 Creating an outlook Macro to select and approve Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro to send an Email Template from User Defined Contact Form Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro to check Cursor & Focus position Outlook VBA and Custom Forms 8
V Macro to mark email with a Category Outlook VBA and Custom Forms 4
M Outlook 2019 Macro not working Outlook VBA and Custom Forms 0
S Outlook 365 Help me create a Macro to make some received emails into tasks? Outlook VBA and Custom Forms 1
Geldner Send / Receive a particular group via macro or single keypress Using Outlook 1
D Auto Remove [EXTERNAL] from subject - Issue with Macro Using Outlook 21
V Macro to count flagged messages? Using Outlook 2
sophievldn Looking for a macro that moves completed items from subfolders to other subfolder Outlook VBA and Custom Forms 7
S Outlook Macro for [Date][Subject] Using Outlook 1
E Outlook - Macro - send list of Tasks which are not finished Outlook VBA and Custom Forms 3
E Macro to block senders domain Outlook VBA and Custom Forms 1
D VBA Macro to Print and Save email to network location Outlook VBA and Custom Forms 1
N VBA Macro To Save Emails Outlook VBA and Custom Forms 1
Witzker Outlook 2019 Macro to answer a mail with attachments Outlook VBA and Custom Forms 2
J Macro to Insert a Calendar Outlook VBA and Custom Forms 8
W Macro to Filter Based on Latest Email Outlook VBA and Custom Forms 6
D Autosort macro for items in a view Outlook VBA and Custom Forms 2
S HTML to Plain Text Macro - Help Outlook VBA and Custom Forms 1

Similar threads

Back
Top