Explanation
Automatically adjust your table or columns to fit the size of your content by using the AutoFit button. Select your table . On the Layout tab, in the Cell Size group, c lick AutoF it. Do one of the following. To adjust column width automatically, click AutoFit Contents.