Hello all,

 In my code , I need to Create a function for Create and Open Excel Book in Business Central of Cloud version(SaaS). Can any one suggest me the solution.

In On Premises I am using bellow code.

ExcelBuf.CreateBookAndOpenExcel('', 'Shipment Statistics', '', COMPANYNAME, USERID);
 ExcelBuf.GiveUserControl; 
 ERROR('');
 

and it's working , but i need these functionality in Cloud version .