Im using a shell command to execute Microsoft Excel and open an Excel spreedsheet.

I've had to hard code the location of Excel, therefore if the user has installed Excel to somewhere other than 'C:\Program Files\Microsoft Office\Office' it fails.

Is there a way to find the location that Excel is installed on the users machine?