+ Reply to Thread
Results 1 to 4 of 4

Simplify code to outline selection

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Simplify code to outline selection

    Hello All

    I have a macro which summarizes a data selection in several different ways. Each summary is formatted with a snazzy border around it. My problem is simplifying the code to add the borders, I have gotten rid of the excess that I know how to get rid of but am wondering if there is not some way to get a border around a selection of cells without having all of this:

    Please Login or Register  to view this content.
    It seems like there should be some way to act on the entire selection at once without doing it edge by edge.

    Thanks for your help!
    Last edited by jacob@thepenpoint; 03-15-2012 at 12:20 PM. Reason: Solved
    Jacob Albers
    Excel 2003 & 2010

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Simplify code to outline selection

    hi Jacob, this should help:

    Please Login or Register  to view this content.
    Last edited by watersev; 03-15-2012 at 11:52 AM.

  3. #3
    Forum Contributor
    Join Date
    04-03-2011
    Location
    India
    MS-Off Ver
    Excel 2015
    Posts
    122

    Re: Simplify code to outline selection

    Hi watersev,

    how about if boxes inside the given range ("AR5:AV14") i.e Borders

  4. #4
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Re: Simplify code to outline selection

    Thanks Watersev
    Works like a champ!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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