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