Hi all, I'm trying to "translate" an old code managing an export into an Excel file into the new version 2013. This is the old code:
recExcelBuffer.CreateBook;
recExcelBuffer.CreateSheet('NAV','',COMPANYNAME,USERID);
recExcelBuffer.GiveUserControl;
Those functions in NAV 2013 are different. I tried to convert it into those lines, they work, but they do not open Excel...
recExcelBuffer.CreateBook('NAV');
recExcelBuffer.WriteSheet('NAV',COMPANYNAME,USERID);
recExcelBuffer.GiveUserControl;
Does someone here had the same problem?
Thanks,
Marco
Marco Ferrari
Microsoft Certified TrainerCronus.it0
Comments
Thanks,
Marco
Microsoft Certified Trainer
Cronus.it
It calls the CreateBookAndOpenExcel function when the report finishes.
http://mibuso.com/blogs/davidmachanick/