I need to create a report that creat a file excel with different Worksheet.
I write this code:
CLEAR(xlApp);
IF NOT CREATE(xlApp) THEN
ERROR()
ELSE
XlWorkBook := xlApp.Workbooks.Add;
XlWorksheet1.Name := 'Worksheet 1';
If i need to export in the same file but create and change worksheet how is the right sintax?
Thanks
Answers
I'll try to help.
Ron
http://www.mibuso.com/dlinfo.asp?FileID=596