Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 358
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting a Picture using Cell as picture name. the-jackal Links and Linking in Excel 12 November 10th 08 09:21 AM
how do I insert picture into cell so vlookup can return picture? ah Excel Worksheet Functions 1 May 1st 07 04:38 AM
cannot load excel file - "too many different cell formats" error s Richard Bailey Excel Discussion (Misc queries) 3 May 15th 05 12:33 PM
Load active cell data via a function Mike G - D.C. Excel Worksheet Functions 2 November 23rd 04 09:13 PM
Excel 2000 Load Userform when clicking cell scain2004[_3_] Excel Programming 8 May 2nd 04 04:10 AM


All times are GMT +1. The time now is 11:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"