Microsoft Office – Theme Change Event via VSTO Add-In

By teamprinceton | July 22, 2016 |

Microsoft Office doesn’t have a theme change event in their VSTO API, so in order to detect the theme change, we need to monitor the registry key “UI Theme”. The key can be found in the following registry path: For Office 2013: HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Office\\15.0\\Common For Office 2016: HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Office\\16.0\\Common The value is a REG_DWORD and its range … Continue reading “Microsoft Office – Theme Change Event via VSTO Add-In”

Read More