Hi.

I'm trying to create a structure in excel using *addMergedRegion*.

Let's say I have a header  like this

           Option 1                         Option 2                TOTAL
Option1.1    Option1.2      Option2.1     Option2.2

In excel it would be like this:
Option 1, A1-B1  (merged cells)
Option 2, C1-D1  (merged cells)
TOTAL, E1-E2  (merged cells)

Option1.1 (A2)
Option1.2 (B2)
Option2.1 (C2)
Option2.2 (D2)

SO, in a first step I need to create this, using code, but in a second step
I would like to read this structure from xml file in interative way to
create this structure or other (this part is done yet, but I can't be able
to create the excel file iterative).

Any idea, or at least the code for addMergedRegion to create the excel?????

Thanks


--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Merging-cells-tp5709822.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to