It looks like you're new here. Sign in or register to get started.
pcodCell := 'A1:C1'; autXWorksheet.Range(pcodCell).Cells.Merge;
ExcelBuf.NewRow; ExcelBuf.AddColumn('No Customer,FALSE,'',TRUE,FALSE,TRUE,''); ExcelBuf.AddColumn('Customer Name',FALSE,'',TRUE,FALSE,TRUE,'');
codCell := 'A1'; intAlign := -4108; autXWorksheet.Range(codCell).HorizontalAlignment := intAlign;
Answers
How can I deal with that problem???
Do you have an idea?
I'll be greatful for the answer.
Hanen TALBI
You'll have to make your hands dirty and add some code to this Excel Buffer table in order to merge cells.
PS: Why did you marked this topic as [Solved], while it isn't?
It works now but I need to center my data is there a way to do that??? :oops:
Thanks for your help :thumbsup:
Hanen TALBI
Next time, visit http://msdn.microsoft.com/en-us/library/bb213535.aspx to explore the Excel Object Model.
Thanks :thumbsup:
Hanen TALBI