Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

combine cells in xls sheet (xml format)

Tags:

php

excel

xls

i have a xls file with a structure like

<Workbook>
  <Worksheet>
    <Row>
      <Cell>Data</Cell>
    </Row>
  </Worksheet>
</Workbook>

So i use things like ss:Type, ss:Alignment and so on but how can I combine some cells to one like i can do in excel directly?

like image 375
Martin Huwa Avatar asked Dec 28 '22 14:12

Martin Huwa


1 Answers

ss:MergeAcross or ss:MergeDown

http://msdn.microsoft.com/en-us/library/Aa140066#odc_xmlss_ss:cell

Examples:

http://wiki.sdn.sap.com/wiki/display/Snippets/XML+TAGS+simplifies+Excel+Download

like image 183
Tim Williams Avatar answered Jan 15 '23 07:01

Tim Williams