Ljupce Zagorac
IS-IT--Management
Hi experts,
Can somebody help with VFP 9 OLEObjects adding pdf file to Excel (2007 and up)?
The following code works with doc files but not with PDF's:
afile=getfile('doc')
oExcel = CREATEOBJECT('Excel.Application')
WITH oExcel
.WorkBooks.Add
.Visible = .t.
with .Activeworkbook.ActiveSheet.OLEObjects
.Add (,afile,.f.,.f.)
endwith
endwith
Thanks in advance.
Can somebody help with VFP 9 OLEObjects adding pdf file to Excel (2007 and up)?
The following code works with doc files but not with PDF's:
afile=getfile('doc')
oExcel = CREATEOBJECT('Excel.Application')
WITH oExcel
.WorkBooks.Add
.Visible = .t.
with .Activeworkbook.ActiveSheet.OLEObjects
.Add (,afile,.f.,.f.)
endwith
endwith
Thanks in advance.