I am getting an error using the Excel Buffer table to export: -
This message is for C/AL programmers
An exception occurred from an external component. The component did not provide the exception description.
Excel Table Buffer -
CreateSheet(SheetName,ReportHeader,CompanyName,UserID2)
REPEAT
RecNo := RecNo + 1;
Window.UPDATE(1,ROUND(RecNo / TotalRecNo * 10000,1));
IF NumberFormat <> '' THEN
XlWorkSheet.Range(xlColID + xlRowID).NumberFormat := NumberFormat;
IF Formula = '' THEN
It is failing on this line
XlWorkSheet.Range(xlColID + xlRowID).Value := "Cell Value as Text"
Any suggestions?
I have set up the data as follows: -
recExcelBuffer.xlRowID := 'A';
recExcelBuffer.xlColID := '1';
recExcelBuffer."Cell Value as Text" := '5';
recExcelBuffer.INSERT;
recExcelBuffer.CreateBook;
recExcelBuffer.CreateSheet('ROD','',COMPANYNAME,USERID);
0
Comments
RIS Plus, LLC