+ Reply to Thread
Results 1 to 7 of 7

Border top bottom

  1. #1
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Border top bottom

    Hello,

    As per the attached file, I need to automatically have between pages a border to close the table when printing.

    For example, I would need to have a border between row 47&48 in the attached file. Otherwise when I print the document out the excel table is not closed at the bottom of the page 1 and neither at the top of the page2.

    The worksheet (sheet 2) is what I would need to get when printing the document.

    Can you please help?
    Thanks,
    Graig
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Border top bottom

    You don't know from your profile which version of Excel you are using, but open up the Workbook in Page View (in Excel 2010 and later this option is bottom right of screen), find the last row or better still the Header & Footer space and put a line in there.
    Last edited by Ursul; 10-18-2013 at 03:04 AM.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Border top bottom

    Hi Graig

    Maybe conditional formatting would help.

    I did an example where 47 lines fit on a page.

    Then I did <contol-A> to select everything, and
    Format > Conditional formatting

    For the "Condition" I used
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and for the "Format" I used a bottom cell border.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Border top bottom

    @ Ursul: I use excel 2010 (I will update my profile). I already have a footer and header in my original document and don't get how I could add a border in the footer then..
    @ Fotis1991: It works for the first page but If I create 20 pages Would I have to enter that formula for each page?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Border top bottom

    No. Not at all! Formula creates a border every 47 lines. Just fix your range!
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Border top bottom

    Sorry graiggoriz I've been working in Word too much - my mistake ... I forgot Excel doesn't haven't the simple Header & Footer area like Word. I suggest you use Fotis1991's suggestion as it works well and he is a master!

  7. #7
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Border top bottom

    Hey Fotis1991, Sorry I thought I got back to you (In fact I did but my computer crashed when I plugged it back to the docking station...) Anyway it seem that your answer suits me fine! I only haved had the chance to check the whether it works when the rows have different height.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Draw bottom border on every rows from top to bottom
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2013, 09:52 AM
  2. Add TOP and BOTTOM border after paste
    By Traymond in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2012, 11:04 PM
  3. Put bottom border on last used cell
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2012, 10:59 PM
  4. Top (or Bottom) Border in footer
    By ben98gs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2011, 09:36 AM
  5. Shared Top and Bottom Border - Bottom not printing
    By bick421 in forum Excel General
    Replies: 0
    Last Post: 01-07-2009, 03:47 PM

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