How to load a .bmp picture into a cell?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, friends,

I am developing an app using VB with Excel library being referenced. I need
to programmatically fill up worksheet cells with text or .bmp picture. Those
pictures are saved in a file system. I know how to put text in a cell, but I
do not know how to load .bmp picture and show it in a cell. Could any one
give me some sample code and reference papers? Thanks a lot.
 
Andrew,

To insert a picture, you can use

activesheet.picture.insert (full_path_and_picture_as_string)

You can then use then set the .top and .left of those pictures equal to the
..top and .left properties of the cells. Sizing would occur in a similar
fashion.

http://HelpExcel.com
 
Back
Top