Options

Excel Automation (Setting Row height and Column Width)

JohnSilverJohnSilver Member Posts: 3
Hi there,

Could anyone give me an example how to set a certain Row Height and Column Width using the Excel automation? - Also something that needs to be accomplished will be Merging cells.....any samples would be GREATLY appreciated!

Thanks!

Comments

  • Options
    fbfb Member Posts: 246
    xlSheet.Range('A1').EntireRow.RowHeight(25);
    xlSheet.Range('A1').EntireColumn.ColumnWidth(25);
    xlSheet.Range('A1:B1').Merge;
    
  • Options
    JohnSilverJohnSilver Member Posts: 3
    That worked perfectly
Sign In or Register to comment.