Skip to main content

Pictures in Excel

  • November 21, 2018
  • 0 replies
  • 0 views

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.

 

0 replies

Be the first to reply!