I've done this simple code. But I want it to execute automatically?
It's in the VBA code of a specific sheet.![]()
Sub autofit() Range("B4:B18").Columns.autofit Range("C4:C18").Columns.autofit Range("D4:D18").Columns.autofit Range("E4:E18").Columns.autofit End Sub
Any suggestions (including improving existing code...I'm a new at this :-) )?
Regards,
Niklas
Bookmarks