I have been surfing and hacking and I am definitly not a XML or XSL guy :(
What I need is the ability to make the column widths "AutoFitWidth" -
Problem is I will never know how many columns there are or there names ahead of time!
Currently to do some simple formatting on the first row I am using:
<Row>
<xsl:for-each select="*[position() = 1]/*">
<Cell ss:StyleID="s21" >
<Data ss:Type="String">
<xsl:value-of select="local-name()"/>
</Data>
</Cell>
</xsl:for-each>
</Row>
No matter where in the sheet I place an " ss:AutoFitWidth="1" does anything happen- cept errors on opening the excel sheet ......
Is this even possible?
Start Free Trial