How to change the width of an Excel Column using C#

  • Thread starter Thread starter Giorgos Zagouras
  • Start date Start date
G

Giorgos Zagouras

Hello there,

i have a windows application thats automates some data from SQL Server
and exports them to Excel. I am using Windows 2000 and Excel XP. I have the
following problem :

i am trying to modify the Columns Width but it is not working.....



Have any ideas?


Giorgos....
 
You should just be able to pass a type double to your
rangeobject.ColumnWidth like: It works for us.
_Range.ColumnWidth = _ColumnWidth
 
Back
Top