My company used to have two versions of Excel (97 and 2000) running on many of its PCs. As a result, I always had to save documents in 97 format.
Now that we've gotten rid of the 97 application, many users tell me that when they launch an 2000 spreadsheet or run the Execute command from Notes, it always tries to open the 97 Excel version. I believe Notes stores that "preference" and it's not easy to override.
Generally, when coding the EXECUTE command, you're told you need to provide an application name. I've found that this is not true. You can bypass the application name and let your PC decide the best application for the file provided.
The help documentation for the EXECUTE command implies that the application name is required for the command to run. However, it will run without the application name and this is a great shortcut if your company uses many versions of the same program and you want to force the most recent version to open the file.
@Command( [Execute];"Excel"; "\NEWARK74SALESAgent"+Office+ "-"+AppName+ ".xls")
NEW CODE: (Simply remove "Excel" (the application name)) @Command( [Execute]; "\NEWARK74SALESAgent"+Office +"-"+AppName+ ".xls")