>Can i run Excel from FoxPro Code and Open a file using FoxPro Code also?
>>Can i run Excel from FoxPro Code and Open a file using FoxPro Code also?
There are at least two ways to do this; either launch Excel with the VFP native RUN command, passing the name of the spreadsheet to open on the command line, or use can use Excel via OLE Auomation using CREATEOBJ() or the equivalent to open an instance (for example, if Excel is instaled, you can access it's standard application interface with CREATEOBJ('Excel.Application'), and then use the published methods and properties through the object that you create) and drive it from VFP directly.
There may be a DDE interface available as well.