Search code examples
excel-2007

Reset Excel to default borders


Ok, so you know what a spreadsheet looks like when you open a new on in Excel; the borders are a light blue. These are only on the screen though, if you print the sheet it will not have borders. Say you've applied some various formatting to the sheet (background color, etc.) and those "default" borders are gone. My question is how to you get them back? Simply doing a Clear Formats will not always work.

Specifically I am talking about Excel 2007 but I believe all versions do this.

Any ideas?

Thanks, Ryan


Solution

  • If you're trying to do this from within Excel (rather than programmatically), follow these steps:

    1. From the "Orb" menu on the ribbon, click the "Excel Options" button near the bottom of the menu.

    2. In the list of choices at the left, select "Advanced".

    3. Scroll down until you see the heading "Display options for this worksheet".

    4. Select the checkbox labeled "Show guidelines".

       Show gridlines checkbox under Excel Options:Advanced