excel cell height not increase automatically based on content size?
-
Tuesday, July 31, 2012 5:25 PM
I'm using Microsoft.Office.Interop.Excel to write data into excel cell. cell has certain height initially and i m setting both "merge cell = true" and "wrap text = true".
when the cell content is large, the cell height is not increased, here I tried both,
_range.entrirerow.autofit()
_range.columns.autofit()but doesn't work anything for me, please suggest some solution.
- Moved by Jason Dot WangMicrosoft Contingent Staff Thursday, August 02, 2012 8:04 AM This thread is about Excel (From:Visual C# General)
- Changed Type Quist ZhangMicrosoft Contingent Staff, Moderator Monday, August 27, 2012 7:02 AM
All Replies
-
Tuesday, July 31, 2012 6:06 PMIf your Excel sheet has a predefined format, Means you already know which type of data will come in which row and column. Then Create an Excel template for this format and started writing into a new copy of this template, It will decrease your formatting effort at programming level.
Kapul
- Edited by Kapul Bhatnagar Tuesday, July 31, 2012 7:01 PM
- Proposed As Answer by Kapul Bhatnagar Tuesday, July 31, 2012 7:01 PM
-
Tuesday, July 31, 2012 6:54 PMTry posting in Excel for Developers Forum
Mark Answered, if it solves your question and Vote if you found it helpful.
Rohit Arora -
Saturday, August 04, 2012 12:25 PMAnswererThis should be taken care by MS.I do not find any solutions.
Asadulla Javed

