It looks like you're new here. Sign in or register to get started.
mohana_cse06 wrote: what did you try so far?
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I tried to create second sheet just after the first sheet but it is replacing the first one
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
if you are creating the excel book by table 370, try this.
in the table 370 create a new function named AddSheet whit that :
AddSheet()
XlWrkBk := XlApp.ActiveWorkbook;
XlWrkSht := XlWrkBk.Worksheets.Add;
now when you call the table 370 in a report try this;
XlBuffer.Createbook; // this only call once time because this create the excel book
XlBuffer.CreateSheet('title 1,'title2',COMPANYNAME,USERID);
XlBuffer.AddSheet;
XlBuffer.GiveUserControl;
XlBuffer is a type record from Excel Buffer