excel and bmp-files

excel and bmp-files

Postby Marc Vanzegbroeck » Wed May 16, 2012 1:08 pm

Hello,

Is is possible to write a BMP-file to a cell in excel?
Thanks,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: excel and bmp-files

Postby Enrico Maria Giordano » Wed May 16, 2012 1:24 pm

Code: Select all  Expand view  RUN
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oExcel

    oExcel = CREATEOBJECT( "Excel.Application" )

    oExcel:WorkBooks:Add()

    oExcel:ActiveSheet:Shapes:AddPicture( "C:\FWH\BITMAPS\FIVEWIN.BMP", .F., .T., 50, 50, 200, 200 )

    oExcel:Visible = .T.

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: excel and bmp-files

Postby Marc Vanzegbroeck » Wed May 16, 2012 1:48 pm

Thanks,

It's working nice :)

Regards,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 59 guests