Detect if installed?

Jan 14, 2015 at 6:08 PM
Is it possible in the code of the the Add-In to detect whether it's permanently installed in Excel or if it was just opened?