Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

want to open an excel file within a *.prg 1

Status
Not open for further replies.

MrDontKnowNothing

Programmer
Jun 26, 2003
94
0
0
DE
hi folks,

what kind of command should i use, if i plan to open an excel-file from a *.prg so that excel pops up?

thanks!

alex
 
i agree, but what if somebody installed excel in a different path?
therefore i'd prefer a more generic method.

thanks

alex
 
Alex,

The ShellExecute() approach is completely generic. You don't need to knwo the path to Excel. You only need to pass the path and filename of the XLS file.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top