Hi,
Our company has disabled Reply All. And shortcuts no longer work as an alternative. I am ok with VBA in Excel but unfamiliar with Outlook.
I've tried the below tests, but nothing happens.
I think I need to create a new email and add the original recipients and cc's manually.
How would I go about this?
Many thanks!
Our company has disabled Reply All. And shortcuts no longer work as an alternative. I am ok with VBA in Excel but unfamiliar with Outlook.
I've tried the below tests, but nothing happens.
I think I need to create a new email and add the original recipients and cc's manually.
How would I go about this?
Code:
Sub ReplyToAll_Run()
If Application.ActiveExplorer.Selection.Count >= 1 Then
Dim o As Object
Set o = Application.ActiveExplorer.Selection.Item(1)
If TypeName(o) = "MailItem" Then
Dim mi As MailItem
Set mi = o
mi.replyall
Exit Sub
End If
End If
MsgBox "Cannot Reply to All when no mail items are selected"
End Sub
Sub test()
Dim o As MailItem
Set o = Application.ActiveExplorer.Selection.Item(1)
o.replyall
End Sub
Many thanks!