Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.EntireRow.AutoFit
End Sub
Cells.EntireColumn.AutoFit