C
crapit
I try to set autofit for rows but got error
lastrow = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).row
rows("2:lastrow").autofit
lastrow = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).row
rows("2:lastrow").autofit