How to stretch the border of a table in excel?

Find "Page Setup" under "Page Layout" and click to enter, as shown in the figure;

Are you online? "Page Settings", find the "worksheet", as shown;

Find a tick in the box in front of "Grid Line" under "Worksheet" and click OK after setting, as shown in the figure;