Sometimes when I'm inspecting some variable on my excel macro, Outlook opens up by itself. This is pretty annoying since I don't even use Outlook nor have it configured. What is happening here?
I'm using Office 2016.
Edit: I don't think this has any to do with the actual macro, but anyway, here it goes:
Sub duplicateSheets()
Dim i As Integer
For i = 1 To 3
ThisWorkbook.Sheets("classes").Copy _
After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count)
ThisWorkbook.Sheets("pivot").Copy _
After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count)
Next
End Sub
Outlook opens when I'm inspecting ThisWorkbook.Sheets("classes")
.