Create an .INI file for the app, and enter the proper info into it.
Then, when the app starts, it will retrieve the info from the .INI.
Don't use CHR(34). In a
vb string you use a pair of " to resolve to a single one in the resultant string.
s = """" will set s to one double-quote mark.
Code:
x = Shell(application & " """ & strPath & """")
There also might be a registry entry you can access.
Also, perhaps you could search downward from the most recent office config. If not found then look for the one before, and so on, and so on.