#1   Report Post  
Trang
 
Posts: n/a
Default page border in excel

How can I set border for all pages in an excel sheet, just as page border in
word? Thanks.
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

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" wrote in message ...
How can I set border for all pages in an excel sheet, just as page border in
word? Thanks.



  #3   Report Post  
Trang
 
Posts: n/a
Default

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" wrote in message ...
How can I set border for all pages in an excel sheet, just as page border in
word? Thanks.




  #4   Report Post  
David McRitchie
 
Posts: n/a
Default

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" wrote in message ...
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" wrote in message ...
How can I set border for all pages in an excel sheet, just as page border in
word? Thanks.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lose formatting (border) in excel cell after pasting from word Reverse_Solidus Excel Discussion (Misc queries) 2 March 16th 05 10:01 PM
Print multiple excel charts within one sheet to fit to a page lik. lal Excel Discussion (Misc queries) 1 February 18th 05 09:47 PM
Keep rows on same page in Excel SWeyer Excel Discussion (Misc queries) 3 February 18th 05 05:15 PM
Excel page break preview RK Excel Discussion (Misc queries) 3 February 17th 05 12:33 AM
insert multiple page Word document into Excel S.W. Excel Discussion (Misc queries) 2 December 7th 04 11:29 PM


All times are GMT +1. The time now is 04:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"