+ Reply to Thread
Results 1 to 3 of 3

macro for borders

  1. #1
    Registered User
    Join Date
    09-04-2011
    Location
    los angeles, ca
    MS-Off Ver
    Excel 2007
    Posts
    1

    macro for borders

    Can someone please let me know how I would set up a macro which would allow me to put a border around a range of cells only in the event that range was in use. in other words, that range may be all blank in which case I dont want a border. i have named the ranges if this is helpful. thanks.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: macro for borders

    Hi mradam and welcome to the forum.

    Find the attached that has some macros you are asking for.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Valued Forum Contributor gjlindn's Avatar
    Join Date
    08-01-2011
    Location
    Dodgeville, WI
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    369

    Re: macro for borders

    Sounds like a good use for conditional formatting...Are you sure you want to go with a VBA solution?
    -Greg If this is helpful, pls click Star icon in lower left corner

+ 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