ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excelsheet as html (https://www.excelbanter.com/excel-programming/418293-excelsheet-html.html)

Sascha[_3_]

Excelsheet as html
 
Hello,

our asp.net application generates xls files with html inside and sends the
output to the browser. The user can save the file to disk, or if he clicks
open he can open the file in his excel application. Almost everything works
fine, the tablecontent is correct and the data could display correctly. Our
customers ask us to autofit the columns in excel per default, but we don't
find a attribute for the table or td tag in html to do this.
How can i autofit columns in html?

Tim Williams

Excelsheet as html
 
Probably the best you could do would be to set the width of each column to
something approximately correct...

Tim

"Sascha" wrote in message
...
Hello,

our asp.net application generates xls files with html inside and sends the
output to the browser. The user can save the file to disk, or if he clicks
open he can open the file in his excel application. Almost everything
works
fine, the tablecontent is correct and the data could display correctly.
Our
customers ask us to autofit the columns in excel per default, but we don't
find a attribute for the table or td tag in html to do this.
How can i autofit columns in html?





All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com