al querer guardar una exportacion a excel 2007 desde v fox9 , me da este error:
' no se puede obtener la propiedad save de la clase workbook office 2007'
alguien me podra ayudar ? gracias
parameter
tlMuestrosele
curpvfichalcaux =
alltr(gcDirexcel) +; ThisForm.Pgfgral1.Page1.Cntprove1.pvcodsuc+; alltr(str(ThisForm.Pgfgral1.Page1.Cntprove1.pvficha))+'.XLS'lcPlanilla =
putfile('Confirme el Nombre',lcaux, 'xls')if empty
(lcPlanilla) returnendif
wait wind nowait
'Exportando... 'export to
(lcPlanilla) XLS fields fecha, debe, haber, saldo, operacion, comentariogo top
wait wind nowait
'Agregando Títulos... 'oleapp =
createobject('excel.application')with
oleapp.Workbooks.
open( lcPlanilla ).
columns("B:D").select.
selection.NumberFormat = "#,##0.00 $".
rows('1:1').select.
selection.font.bold = .t..
Selection.EntireRow.Insert.Cells(1,1).
value = ThisForm.Pgfgral1.Page2.LblProve.caption+ ; ThisForm.Pgfgral1.Page2.LblSaldoActual.caption.Cells(1,1).
font.bold = .t..
range('A1').select.ActiveWorkbook.
saveif
tlMuestro.
Visible = .t.else
.ActiveWorkbook.closeendif
endwith
rele
oleApp