putting a image in a specific cell

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • padawanlinuxero
    New Member
    • Oct 2007
    • 5

    putting a image in a specific cell

    hello

    I am working on a excel file and I need to add a image a barcode in JPG, but everytime I run the program puts the image in the top part of the excel file and not where it should

    this is what I use to put the image on the excel file


    Code:
    $Hoja -> Range("E47")->Select();
    $excel->ActiveSheet->Pictures->Insert("c:\\projectword\\$filename2.jpg");
    what am i doing wrong??

    thanks!
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    What module are you using?

    --Kevin

    Comment

    Working...