Skip to main content

These sequences work very well, but insert the Picture at A1 

      *>   Get the collection of WorkBooks
           invoke ExcelObject "getWorkBooks"
               returning WorkBooksCollection

      *>   Add a new WorkBook to the collection
           invoke WorkBooksCollection "Add"
               returning WorkBook
           invoke ExcelObject "getActiveSheet" returning Activesheet
           invoke Activesheet "getPictures" returning Pictures
           invoke Pictures "Insert" using
              z"C:\\temp\\mypic.jpg"

What must be added to move the pictura at any other place of my Worksheet?

Thanks for any help.