+ Reply to Thread
Results 1 to 3 of 3

Thick Bottom Border for Dynamic Print Range

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    Oregon
    MS-Off Ver
    2013
    Posts
    2

    Thick Bottom Border for Dynamic Print Range

    I just created several reports that have dynamic print ranges and I am using the offset function in the print area: =OFFSET('C6ReturnShipments'!$A$1, 0, 0, 14+COUNT('C6ReturnShipments'!$A:$A),26 )

    I need to have a thick bottom border on the last row from Column A to Z. Conditional formatting doesn't have the option for a thick border.

    VBA is very new to me, so I'm unsure if I use the offset function to identify the correct row or not and the correct syntax.

    Thank you! Robecca

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Thick Bottom Border for Dynamic Print Range

    This will put a thick black border below the last row.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    10-20-2014
    Location
    Oregon
    MS-Off Ver
    2013
    Posts
    2

    Re: Thick Bottom Border for Dynamic Print Range

    Thanks for the quick response Norie!

    Is there a special place I should put the code? I put it in Module 1; General; Declarations. I printed my report and no change to the border.

    Robecca

+ 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. Need to border to bottom of range
    By STU22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2014, 03:57 PM
  2. [SOLVED] bottom border on a range of cells using a variable for the row value
    By jlawson258 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2012, 12:45 PM
  3. Loop that adds thick bottom border to row range
    By msmick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2012, 11:43 PM
  4. Thick Top Border
    By scotfitz in forum Excel General
    Replies: 2
    Last Post: 05-11-2009, 10:42 AM
  5. bottom border every second cell in range
    By cass calculator in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-17-2006, 12:50 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