+ Reply to Thread
Results 1 to 5 of 5

Strange problem with placing Border on dynamic ranges

  1. #1
    Registered User
    Join Date
    09-04-2014
    Location
    Hampshire, England
    MS-Off Ver
    2010
    Posts
    25

    Strange problem with placing Border on dynamic ranges

    I have code for placing a border around a dynamic range, which works, however, no matter which sheet or data set I apply it to I seem to get an extra "row" on the right hand side. See screen shot

    Borders.jpg

    The code I am using is below and I am at a loss to see why this is happening

    Please Login or Register  to view this content.
    Would appreciate advice on what I am doing wrong or how to fix

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Strange problem with placing Border on dynamic ranges

    Hi Coems,
    try this
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-04-2014
    Location
    Hampshire, England
    MS-Off Ver
    2010
    Posts
    25

    Re: Strange problem with placing Border on dynamic ranges

    Hi nilem

    Thanks - but it is the external border I am trying to sort (ie; on the screen shot surrounding the Green area). Also I need to use it on 4 different sheets which vary in ems of number of columns and rows

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Strange problem with placing Border on dynamic ranges

    then try this
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-04-2014
    Location
    Hampshire, England
    MS-Off Ver
    2010
    Posts
    25

    Re: Strange problem with placing Border on dynamic ranges

    Many thanks nilem, that has solved the problem, much appreciated.

+ 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. Placing heavy border around first cell of active row
    By #Justin! in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2012, 02:07 PM
  2. Dynamic Ranges Problem
    By jamesryan in forum Excel General
    Replies: 0
    Last Post: 04-17-2008, 07:03 AM
  3. Problem with Dynamic Named Ranges
    By Andibevan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2005, 08:05 AM
  4. [SOLVED] Problem with dynamic ranges
    By Jayne in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2005, 01:05 AM
  5. Strange border format.
    By Rodney in forum Excel - New Users/Basics
    Replies: 16
    Last Post: 05-10-2005, 03:06 AM

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