Kiru
Kiru

Reputation: 3565

Globals.ThisAddIn.Application.Visible is always returning false

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

Answers (1)

Siddharth Rout
Siddharth Rout

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()

Link: http://connect.microsoft.com/VisualStudio/feedback/details/541094/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

enter image description here

Upvotes: 1

Related Questions