+ Reply to Thread
Results 1 to 5 of 5

page border in excel

  1. #1
    Trang
    Guest

    page border in excel

    How can I set border for all pages in an excel sheet, just as page border in
    word? Thanks.

  2. #2
    Forum Contributor
    Join Date
    04-11-2005
    Location
    London
    Posts
    259
    Click on Print Preview and then Page Break Preview.

    Don't expect it to work exactly the same as Word (Excel is a very different beast). You can also use it in conjunction with the "Page Setup" and "Set Print Area" to get out of it pretty well everything you need.

    MS

  3. #3
    David McRitchie
    Guest

    Re: page border in excel

    Hi Trang,

    Watch your terminology.
    Pages do not exist until it comes to printing.
    Worksheets (sheets) are what you see on the tabs at the bottom
    you could have other sheets besides worksheets.
    Workbook is the filename.

    Borders and Gridlines are not the same.

    Gridlines are 1 pixel wide and you can have them visible or not
    you can have them print or not. Interior color will wipe out the
    surrounding gridlines.

    If you want to put borders on all cells in your current (activesheet) you
    would select all cells (ctrl+A, except in Excel 2003) then
    format, cells, borders, choose color, choose each border.

    If you want to do the same for all sheets in the workbook then
    right click on the worksheet tab, select all sheets
    .... do the same as in previous paragraph...

    Must ungroup the sheets as any change to the visible worksheet
    will also be done to the other sheets in the group, and would destroy
    the content of your workbook very quickly.
    right click on worksheet tab, UNGROUP sheets

    If you want to make this so that all future workbooks have borders
    to start with you would create a book.xlt in your XLSTART directory
    and if you want to add any more sheets to any existing or future workbooks
    you would create a sheet.xlt worksheet as your default.


    More information on Gridlines and Borders in
    http://www.mvps.org/dmcritchie/excel/gridline.htm
    --
    ---
    HTH,
    David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

    "Trang" <Trang@discussions.microsoft.com> wrote in message news:4AA8EBB9-A5B9-4DFC-860E-0C272AABC46A@microsoft.com...
    > How can I set border for all pages in an excel sheet, just as page border in
    > word? Thanks.




  4. #4
    Trang
    Guest

    Re: page border in excel

    Hi David,
    Thanks a lot for your explanation.
    Yes I really mean the page print-out, not single cell, not the whole sheet.
    When I have a multiple-page sheet, I want each printed page has a border,
    just as page border in Word. Can I do that in excel without going to each
    single "page" to set border for the range on that page?

    "David McRitchie" wrote:

    > Hi Trang,
    >
    > Watch your terminology.
    > Pages do not exist until it comes to printing.
    > Worksheets (sheets) are what you see on the tabs at the bottom
    > you could have other sheets besides worksheets.
    > Workbook is the filename.
    >
    > Borders and Gridlines are not the same.
    >
    > Gridlines are 1 pixel wide and you can have them visible or not
    > you can have them print or not. Interior color will wipe out the
    > surrounding gridlines.
    >
    > If you want to put borders on all cells in your current (activesheet) you
    > would select all cells (ctrl+A, except in Excel 2003) then
    > format, cells, borders, choose color, choose each border.
    >
    > If you want to do the same for all sheets in the workbook then
    > right click on the worksheet tab, select all sheets
    > .... do the same as in previous paragraph...
    >
    > Must ungroup the sheets as any change to the visible worksheet
    > will also be done to the other sheets in the group, and would destroy
    > the content of your workbook very quickly.
    > right click on worksheet tab, UNGROUP sheets
    >
    > If you want to make this so that all future workbooks have borders
    > to start with you would create a book.xlt in your XLSTART directory
    > and if you want to add any more sheets to any existing or future workbooks
    > you would create a sheet.xlt worksheet as your default.
    >
    >
    > More information on Gridlines and Borders in
    > http://www.mvps.org/dmcritchie/excel/gridline.htm
    > --
    > ---
    > HTH,
    > David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    > My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    > Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
    >
    > "Trang" <Trang@discussions.microsoft.com> wrote in message news:4AA8EBB9-A5B9-4DFC-860E-0C272AABC46A@microsoft.com...
    > > How can I set border for all pages in an excel sheet, just as page border in
    > > word? Thanks.

    >
    >
    >


  5. #5
    David McRitchie
    Guest

    Re: page border in excel

    You could do outside borders and that would put a border around the
    spreadsheet portion only. Repeating the first row on each page
    would include to top row with the border on top, so you would have
    the sides down each page, but the bottom border only on the
    last printed page to the extent of the of the last row printed.

    Anything more would require a macro to find the page breaks
    and to put a lower border on the row before the page break.

    So if that is what you want it would be possible (not easy) for
    a macro. At least you'd be able to run the macro and print
    the entire worksheet. A lot of things like this require printing
    one page at a time and restarting the print for the next page
    after making changes.
    ---
    HTH,
    David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

    "Trang" <Trang@discussions.microsoft.com> wrote in message news:EB8A2F79-9BF8-41B3-A556-3B5708295E4A@microsoft.com...
    > Hi David,
    > Thanks a lot for your explanation.
    > Yes I really mean the page print-out, not single cell, not the whole sheet.
    > When I have a multiple-page sheet, I want each printed page has a border,
    > just as page border in Word. Can I do that in excel without going to each
    > single "page" to set border for the range on that page?
    >
    > "David McRitchie" wrote:
    >
    > > Hi Trang,
    > >
    > > Watch your terminology.
    > > Pages do not exist until it comes to printing.
    > > Worksheets (sheets) are what you see on the tabs at the bottom
    > > you could have other sheets besides worksheets.
    > > Workbook is the filename.
    > >
    > > Borders and Gridlines are not the same.
    > >
    > > Gridlines are 1 pixel wide and you can have them visible or not
    > > you can have them print or not. Interior color will wipe out the
    > > surrounding gridlines.
    > >
    > > If you want to put borders on all cells in your current (activesheet) you
    > > would select all cells (ctrl+A, except in Excel 2003) then
    > > format, cells, borders, choose color, choose each border.
    > >
    > > If you want to do the same for all sheets in the workbook then
    > > right click on the worksheet tab, select all sheets
    > > .... do the same as in previous paragraph...
    > >
    > > Must ungroup the sheets as any change to the visible worksheet
    > > will also be done to the other sheets in the group, and would destroy
    > > the content of your workbook very quickly.
    > > right click on worksheet tab, UNGROUP sheets
    > >
    > > If you want to make this so that all future workbooks have borders
    > > to start with you would create a book.xlt in your XLSTART directory
    > > and if you want to add any more sheets to any existing or future workbooks
    > > you would create a sheet.xlt worksheet as your default.
    > >
    > >
    > > More information on Gridlines and Borders in
    > > http://www.mvps.org/dmcritchie/excel/gridline.htm
    > > --
    > > ---
    > > HTH,
    > > David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    > > My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    > > Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
    > >
    > > "Trang" <Trang@discussions.microsoft.com> wrote in message news:4AA8EBB9-A5B9-4DFC-860E-0C272AABC46A@microsoft.com...
    > > > How can I set border for all pages in an excel sheet, just as page border in
    > > > word? Thanks.

    > >
    > >
    > >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1