billandrew
Well-known Member
- Joined
- Mar 9, 2014
- Messages
- 743
Have a data set which results in column widths required to be set at a specific width. Is there a way to perform this task, the data can extend to many more than the example below.
Auto fit does not work since the data in some cells may be larger.
example
Range("A1").ColumnWidth = 14.5
Range("B1").ColumnWidth = 22#
Range("C1").ColumnWidth = 23.5
Range("D1").ColumnWidth = 8.5
Range("E1").ColumnWidth = 28.5
Range("F1").ColumnWidth = 12.5
Auto fit does not work since the data in some cells may be larger.
example
Range("A1").ColumnWidth = 14.5
Range("B1").ColumnWidth = 22#
Range("C1").ColumnWidth = 23.5
Range("D1").ColumnWidth = 8.5
Range("E1").ColumnWidth = 28.5
Range("F1").ColumnWidth = 12.5