Hi Henry

 

You could use an OLE action to do a RegRead of 

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

 

HTH

 

David Sanders

Remedy Solution Architect

Enterprise Service Suite @ Work

==========================

ARS List Award Winner 2005

Best 3rd party Remedy Application

 

See the
<http://www.westoverconsulting.co.uk/downloads/ESS_Concepts_Guide.pdf> ESS
Concepts Guide

 

tel +44 1494 468980

mobile +44 7710 377761

email [EMAIL PROTECTED]

 

web http://www.westoverconsulting.co.uk
<http://www.westoverconsulting.co.uk/> 

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas, Henry
Sent: Thursday, July 26, 2007 4:12 PM
To: [email protected]
Subject: Open Excel doc from a Command Line process

 

Hello ARSList

I am rewriting several "hard coded" functions on the system I have
inherited. The latest is a Run Process command to open Excel a user
maintained spreadsheet. The current working Command Line in the Run Process
action is: C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE
\\servername\drive\folder\filename.xls

I need to rewrite this to function for multiple versions of excel not just
from the OFFICE11 install directory. I have tried many interactions with no
success even some that work from Start Run in windows but not from the User
tool. TIA

 

Thanks

Henry

 

STATEMENT OF CONFIDENTIALITY: The information contained in this message or
any attachments to this message are intended only for the person(s) or
entity to which it is addressed and may contain confidential and/or
privileged material as well as being protected from disclosure. Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is strictly prohibited. If you received this in error,
please contact the sender immediately and delete the material from any
computer. 

__20060125_______________________This posting was submitted with HTML in
it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to