Mega Code Archive

 
Categories / VisualBasic Script / Excel
 

Make a range autofit

Sub autofit()     range("A1:G1").Columns.autofit End Sub