Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

How to determine whether VBA is installed in Office 2016

$
0
0

Hi,

There was a nice article describing how to determine if VBA feature is installed in Office 2003.
(it was called: How to determine whether VBA is enabled for Office applications)

The solution was using MSI API:

MsiQueryFeatureState(szCode, "VBAFiles")

It worked also for Office 2010 and 2013.
My problem is that it does not work for Office 2016.
Is it possible to use MSI API to check if VBA feature is installed in Office 2016?

Regards

Dawid


Viewing all articles
Browse latest Browse all 2257

Trending Articles