Hello everyone,

I have never written VBA in Outlook (only Excel), I have looked and could not find an answer to, what I believe may be a simple solution. I know enough I could have altered a similar code, but found nothing similar (for Outlook this would be easy in Excel).

I need a macro that will replace any hyperlinks in meetings from "https://teams.Microsoft.com/BlaBlaBla" with "mteams://teams.microsoft.com/BlaBlaBla" (Change 'https' to 'msteams')

Currently the URL in a Teams meeting opens a web site/app, I have to select "open in desktop app", and the internet tab doesn't close... Changing https to msteams opens the meeting directly in the desktop app.

I don't want to manually edit every meeting I send. The fact the current link opens a web page that does not close after launching the desktop app, leaves me with a bunch of tabs open on a busy day

Sorry I have no code of my own but this is a top complaint on MS support site - many could benefit from this...