hi all, got a small problem trying to determine where office is installed in my vbs.
I have a vbs that will open office products, excel.exe for example, and it will take a version as well (multple office suites are installed 03, 07, 10, 13).
On an XP machine, normally it's in
C:\Program Files\Microsoft Office\OfficeXXHowever, for a 64bit Win7, a 32bit office it's in
C:\Program Files (x86)\Microsoft Office\OfficeXX
** Is there a simple way I can determine if, excel for example, is in Program Files or Program Files (x86) ? (keeping in mind there may be 3 versions of office installed on one PC.
I've explored ideas of querying the registry, however, they are in different places depending on the OS as well, which may make it messy. Any ideas, suggestions, code would help greatly!
much thanks in advance
I have a vbs that will open office products, excel.exe for example, and it will take a version as well (multple office suites are installed 03, 07, 10, 13).
On an XP machine, normally it's in
C:\Program Files\Microsoft Office\OfficeXXHowever, for a 64bit Win7, a 32bit office it's in
C:\Program Files (x86)\Microsoft Office\OfficeXX
** Is there a simple way I can determine if, excel for example, is in Program Files or Program Files (x86) ? (keeping in mind there may be 3 versions of office installed on one PC.
I've explored ideas of querying the registry, however, they are in different places depending on the OS as well, which may make it messy. Any ideas, suggestions, code would help greatly!
much thanks in advance