General information
Category:
ActiveX controls in VFP
Try something like this:
use (your_table)
go (record_you wish)
keyboard '{Ctrl+C}{Ctrl+W}' plain clear
modi general (Field_name) && contents is in the Clipboard now
*open Excel
oExcel=CREATEOBJECT("Excel.Application")
WITH oExcel
.DisplayAlerts = .f.
.Workbooks.add()
.ActiveSheet.PasteSpecial("Picture (Enhanced Metafile)",.f.,.f.)
.ActiveWorkbook.SaveAs("C:\Book2.xls")
ENDWITH
oExcel.Quit
oExcel=.null.
RELEASE oExcel
>Hi,
>
>I am using a cursor with a general field to display graphs with MSGraph, is there any way i can copy the generated graph to a file/clipboard ?
>I tried the export method, from msgraph, but it returns a error !
>
>thx
>
>Guillaume
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only