Outlook 365

Tricky

Board Regular
Joined
Jun 8, 2002
Messages
77
SendTo Macro.

For years I've had a SendTo macro attached to the Quick Access Tool Bar. has worked perfectly until the latest 365 Update. Now, the buttons no longer function and the macros have been deleted!! I've looked through old code, etc. and I simply do not have the macros saved anywhere (that I can find).

Function: I routinely fwd emails to one of two people, so I had two buttons on the toolbar... I could select an email, click the button, and off it went to the Outbox and Sent Items folder. It saved a ton of steps in a day where I handle 120 - 150 emails.

I don't believe the code I was using would allow me to select more than one message at a time, but that would be a neat trick!! Certainly not worth a ton of code. I think it was clean and simple (but still over my head). Within the code, there was an email address and I was able to change the email address to suit me, give it a name, and attach it to a macro button on the toolbar.

If someone could help with this, I'd be grateful.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try this :
VBA Code:
Sub Forward_Selected_Emails()
Dim sel As Selection, em As MailItem, i%
Set sel = Application.ActiveExplorer.Selection
For i = sel.Count To 1 Step -1
    Set em = sel(i).Forward
    em.Recipients.Add "EmailAddress"
    em.Send
Next
End Sub
 
Upvote 0
Solution

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top