Try creating a macro in Excel that do it. Then check the code generated by the macro recorder and that should help you.
Steeve --- In Axapta-Knowledge-Village@yahoogroups.com, jyothi bandari <[EMAIL PROTECTED]> wrote: > > Hi, > > I need a method to auto fit the Excel rows. > I am able to autofit the columns by Example - sysExcelWorksheet.columns().item(#ColumnName8).autoFit(); > > but I couldn't able to do the rows autofit. > > If anyone is having any idea please come back. > It would be more appreciate if autofit for entire Excelsheet is available instead of writing separately for columns and rows. > > Thanks in advance. > > Thanks, > Jyothi. > > > 5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html >