Fork me on GitHub

2011年10月11日

摘要: 一、用VBA设置行高和列宽 1、将选定区域内各单元格的行高和列宽设置为指定的数值: Sub SetSpecified() With ActiveWindow.RangeSelection .ColumnWidth = 2 .RowHeight = 10 End WithEnd Sub 2、将选定区域内各单元格的行高和列宽调整为最合适的值: Sub SetAutoFit() With ActiveWindow.RangeSelection .Columns.AutoFit .Rows.AutoFit End WithEnd Su... 阅读全文
posted @ 2011-10-11 22:31 RussellLuo 阅读(10021) 评论(0) 推荐(0)

导航