Hello m w,
I have a macro to export the object to excel file. If you want to specify the object ID from front-end you can use variable in the Object-ID. Try this.
DIM ExcelApplication, ExcelWorkbook
SET ExcelApplication = CREATEOBJECT("Excel.Application")
SET ExcelWorkbook = ExcelApplication.Workbooks.Add
ActiveDocument.GetSheetObject("CH142").CopyTableToClipBoard TRUE // Specify the object ID to export to excel.
ExcelWorkbook.Worksheets(1).Rows("1:100000").RowHeight = 15
ExcelApplication.DisplayAlerts = FALSE
ExcelWorkbook.SaveAs "D:\Development\Test.xlsx" , 51 //Specify the Path to save the excel file
MsgBox " Excel file saved in Default path !! "
If we check this error-message in google:
we will see that's not an uncommon error and that the reason are missing rights either caused through the probably adjusted policies for Windows 10 or through any conflicts by the installation. The suggested solutions seems to be all to adjust it within the registry.
I think that the restrictions for the users are too strict and that something essential to call excel as tool is blocked.