3 Replies Latest reply: May 15, 2012 6:36 AM by Alexander Karlsson RSS

    Macro for exporting object as jpg

      Hi,

       

      I need a simple macro for exporting objects to a .jpg. Customer needs to publish objects on a Intranet (EPiServer)...

      Something like this would be helpful:

       

      sub ExportBitmapToFile
      GraphPath = "X:\Development\Export\"
      ActiveDocument.GetSheetObject( "CH115").ExportBitmapToFile GraphPath & "B.jpg"
      ActiveDocument.GetSheetObject( "CH116").ExportBitmapToFile GraphPath & "C.jpg"
      end sub

       

      But this doesn't wotk, and I'm not a developer...

       

      Thanks!

       

       

       

      Best regards

      Torbjörn Ungvall (@Ungvall)

      Senior Business Discovery Manager @ Advectas AB