Recently I've stumbled upon a strange behaviour of VBA. In my Microsoft Excel Macro-Enabled Worksheet I have several sheets, with one named "Log". While I was debugging a code, I added a new watch with an expression Worksheets("Log")
. When I click on the +
box in front of it to expand the expression, Welcome to Outlook 2016
wizard pops up?!
On each subsequent click on the expression, New Profile
window pops up.
Funny thing is, I don't even use Outlook and it alone cannot be uninstalled from the system and rest of the Office package. So, what is happening here and how can I prevent this strange behaviour?
question from:https://stackoverflow.com/questions/66054616/vba-opens-outlook-from-a-watch-window