+ Reply to Thread
Results 1 to 2 of 2

How to load a .bmp picture into a cell?

  1. #1
    Andrew
    Guest

    How to load a .bmp picture into a cell?

    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.

  2. #2
    galimi
    Guest

    RE: How to load a .bmp picture into a cell?

    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

    "Andrew" wrote:

    > 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.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1