Hey All,
Does anyone know how to make Excel print a spreadsheet after it's open from VFP using OLE automation? Existing code is below, thanks for the help.
Jim
oExcel=CREATEOBJECT("Excel.Application")
oExcel.Workbooks.Open(SYS(5) + SYS(2003) +"\docs\compat.xls")
oExcel.Visible=.T.
Thanks
Jim