Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to insert picture in excel cell
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi,
Someone can help me how i can insert a picture to the specified range?
Even if i specify range, it insert the picture outside the range.

below code inserts the picture but taking too much space on the excel sheet. Below code should insert the picture only from d3 to f3 but instead it inserts in almost entire sheet.
Code:
objWorkbook1.ActiveSheet.range("d3:f3").Select

objWorkbook1.ActiveSheet.Pictures.Insert("C:\Documents and Settings\msafiullah\Desktop\error.bmp")

Thanks.

safi
Reply


Messages In This Thread
RE: How to insert picture in excel cell - by bangla123 - 10-26-2010, 12:09 AM
RE: How to insert picture in excel cell - by KVK - 10-26-2010, 02:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Add picture to Excel From UFT eiko 0 1,967 02-10-2018, 12:39 AM
Last Post: eiko
  How import final calculated values by cell formula from Excel not the formula itself. qtped 1 4,899 01-17-2017, 04:05 PM
Last Post: sagar.raythatha
  Unable to insert data into datatable Prashanth 1 3,654 05-10-2013, 03:07 PM
Last Post: Saket
  insert call to new action bistritapcv 1 2,609 04-06-2013, 12:09 PM
Last Post: ravi.gajul
  how to insert error msg in a datatable using Dp? zakshah.12 0 2,045 03-05-2013, 07:49 AM
Last Post: zakshah.12

Forum Jump:


Users browsing this thread: 2 Guest(s)