RESPONDER UNA PREGUNTA

Si para responder la pregunta, crees necesario enviar un archivo adjunto, puedes hacerlo a traves del correo [email protected]

    Pregunta:  60902 - ABRIR EXCEL 2007 DESDE VFP9
Autor:  Elsy Pitillo
Como se abre un libro u hoja de Excel 2007 desde VFP9?
con Excel 2003 o inferiores no he tenido problemas con el siguiente codigo:

loExcel=CREATEOBJECT("Excel.application")

WITH loExcel
.application.workbooks.open("c:alance.xls")
....
.application.visible = .t.
ENDWITH
WAIT "Presione Enter para Salir"
loexcel.quit()
STORE .null. to loexcel,lolibro

Pero con Excel 2007 no furula..!!


Nombre
Apellidos
Correo
Comentarios