OfficeFolder, OfficeFolder_Old
These variables return the installation path of the most recent version of Microsoft Office on the system.
- OfficeFolder uses the App Paths locations of Microsoft Excel and Microsoft Word to determine the installation folder of Microsoft Office. This should work across all installed Microsoft Office versions and should normally pick up the most recent version of Microsoft Office.
- OfficeFolder_Old checks the registry for installation paths of various Microsoft Office versions. This should work reliably for Office 97, 2000, XP, 2003, 2007, and 2010, but no longer works for Office 2013.
Usage
You can refer to this variable as <OfficeFolder>. Do not change its value; it has been carefully configured for cross-platform compatibility.
Related topics
MSExcelDir, MSOfficeDir8, MSOfficeDir9, MSOfficeDir10, MSOfficeDir11, MSOfficeDir12, MSOfficeDir14, MSWordDir