VBA Autofitting Columns

SUBMITTED BY: gamefreak

DATE: June 25, 2019, 5:38 p.m.

FORMAT: Text only

SIZE: 236 Bytes

HITS: 534

  1. #Quickly auto fit all the columns in your worksheet.
  2. This macro code will select all the cells in your worksheet and instantly auto-fit all the columns.
  3. Sub AutoFitColumns()
  4. Cells.Select
  5. Cells.EntireColumn.AutoFit
  6. End Sub

comments powered by Disqus