Jump to content

Recommended Posts

Sometimes the Excel executable file is located in different locations on different machines, and this causes potential problems for my Run () function. Is there a way to read the registry, or access some other information on the machine to know where the EXCEL.exe file is prior to attempting to run it?

Suggested code?

Many, many thanks!

Link to post
Share on other sites

The most recent unstable AutoIt version supports reading registry keys on remote computers, IIRC. There are usually two keys you can check for Excel:

The first key is the reason why Larry's Start trick works.

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Excel.exe"

The second key is possibly less reliable; you need to change the version number: 9.0 = Office 2000, 10.0 = XP, 11.0 = 2003 [or something like that]


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...