Following code works;
Dim ExcelApp As Excel.Application
ExcelApp.Visible = False
Following code doesnt work;
Dim OutlookApp As Outlook.Application
OutlookApp.Visible = False
Do you have any idea why excel could be invisible but outlook is not?
Following code works;
Dim ExcelApp As Excel.Application
ExcelApp.Visible = False
Following code doesnt work;
Dim OutlookApp As Outlook.Application
OutlookApp.Visible = False
Do you have any idea why excel could be invisible but outlook is not?
If you simply create an instance of the Outlook.Application object, it will be invisible (e.i. no Explorers or Inspectors). Keep in mind that once the last Outlook window is closed, it will shut itself down even if your code has an outstanding reference to any of its objects (unless it is an Explorer or an Inspector object).
What exactly are you trying to achieve?