ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Insert Picture into excel (https://www.excelbanter.com/excel-programming/316326-insert-picture-into-excel.html)

macca

Insert Picture into excel
 
Hi,

I am using VC++ 6 with automation to write data to an excel spreadsheet.

I am having a problem inserting a picture(bitmap) into my spreadsheet.

Does anyone know how i can accomplish this?

Thanks In Advance
Macca

shashak[_5_]

Insert Picture into excel
 

Check out

http://www.codeproject.com/com/ComExcelImages.asp

Cheers.
Shan

--
shasha
-----------------------------------------------------------------------
shashak's Profile: http://www.excelforum.com/member.php...fo&userid=1626
View this thread: http://www.excelforum.com/showthread.php?threadid=27701


macca

Insert Picture into excel
 
Hi Shashak,

Thanks for the reply. The article is very interesting but i have a problem.
I am using excel 2003 and when i import the type library i find that some of
the excel classes are different from earlier versions.

e.g the _WorkSheet class does not have the Pictures() method in it which it
does have in the example you sent me. Im not sure how to link the picture i
want to write to the current sheet.

Is there a different way of doing it using the type library for excel 2003?

Thanks In Advance
Macca


"shashak" wrote:


Check out

http://www.codeproject.com/com/ComExcelImages.asp

Cheers.
Shank


--
shashak
------------------------------------------------------------------------
shashak's Profile: http://www.excelforum.com/member.php...o&userid=16265
View this thread: http://www.excelforum.com/showthread...hreadid=277013




All times are GMT +1. The time now is 12:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com