Accessing Excel from UNO

Jan Rheinländer jrheinlaender at gmx.de
Thu Apr 14 18:13:06 UTC 2016


Hi,

is it possible to put something like the following StarBasic code into a
C++ extension:

   oExcel = CreateObject("Excel.Application")
   oBook = oExcel.Workbooks.Add
   oBook.SaveAs("C:\temp\testing.xls")
   oExcel.Quit

In other words, can a C++ extension work with ActiveX objects?

If not, is it possible to call a StarBasic macro from a C++ extension?

Thanks for any hints!
Jan

P.S. Yes, I know that LO has its own spreadsheet module :-)



More information about the LibreOffice mailing list