Reputation: 3565
I trying to find out the visibility of the Excel and do some activities based on it. But these two are always returning false.
Globals.ThisAddIn.Application.ActiveWindow.Visible
Globals.ThisAddIn.Application.Visible
Any ideas why it is always false? I removed all my Excel addins in my machine and then created a brand new one and still it is false.
Upvotes: 1
Views: 1396
Reputation: 149277
Yes, I remember this issue for Word 2010 as well. It was filed as a bug long time ago and I am not sure if it has been rectified. If you have access to this link, then please see this.
Topic: VSTO add-in for Word 2010 shows Application.Visible = False in ThisAddIn_Startup()
This behavior however is not seen in Word 2007. If you want, you can check with Excel 2007 and see if that is the case.
FOLLOWUP
SNAPSHOT
Upvotes: 1