View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
KL[_5_] KL[_5_] is offline
external usenet poster
 
Posts: 49
Default Call other application from excel

Not sure I fully understand what you are trying to achieve. maybe this will
help you:

fileOpen = Shell("notepad.exe " & fileName, vbMaximizedFocus)

or

if you want to use an office application you may look at this (Activating
Other Applications with Excel VBA section):
http://www.geocities.com/jonpeltier/Excel/XL_PPT.html

regards,
KL


"A-Design" wrote in message
...
Hi,

I am using Shell ("c:\Program Files\X\X.EXE") to run another program from
excel , now how can I make this code to open a specific file for me
actually in this case both excel and X application are using the same
file name but the extensions are like 04094.xls and 04094.XXX .

Thanks in advance.
Afshin