+ Reply to Thread
Results 1 to 10 of 10

Repeatedly highlight clusters of cells by adding grids

  1. #1
    Registered User
    Join Date
    04-22-2014
    Location
    Halmstad, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    14

    Repeatedly highlight clusters of cells by adding grids

    Hello!

    IŽd like to repeatedly surround clusters of cells with grids like shown in the added file.
    The range should be $B$1:$J$100 and not as shown in the file.
    How do I make the program to perform this?

    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Repeatedly highlight clusters of cells by adding grids

    Does this help?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-22-2014
    Location
    Halmstad, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Repeatedly highlight clusters of cells by adding grids

    Great!

    How could I change the line style for top bars and bottom bars?
    IŽd like them to be parallell.

    Regards

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Repeatedly highlight clusters of cells by adding grids

    I'm afraid I don't understand. Can you post a sample showing the line style?

  5. #5
    Registered User
    Join Date
    04-22-2014
    Location
    Halmstad, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Repeatedly highlight clusters of cells by adding grids

    Hi again!

    I mean the line style should be like in the attached file with a single line surrounding and a double line dividing every fifth row.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Repeatedly highlight clusters of cells by adding grids

    Try:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    04-22-2014
    Location
    Halmstad, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Repeatedly highlight clusters of cells by adding grids

    Hallo!

    Your solution works out fine.
    One thing remains though.
    IŽd like the line drawing to begin on line 1. Now it begins on line 2. Shall I define z=1 instead of z=2 or should the code be changed in another way?


  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Repeatedly highlight clusters of cells by adding grids

    You can change z=1, and x =5. But you won't have Top Border line in row 1.

  9. #9
    Registered User
    Join Date
    04-22-2014
    Location
    Halmstad, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Repeatedly highlight clusters of cells by adding grids

    IŽm really grateful.
    Your guidance has meant a lot for me in pursuing my task.

    Best regards

  10. #10
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Repeatedly highlight clusters of cells by adding grids

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. [SOLVED] Conditional Formatting to Repeatedly Highlight an Entire Row
    By ekf23 in forum Excel General
    Replies: 6
    Last Post: 04-29-2014, 01:48 PM
  2. Replies: 2
    Last Post: 05-11-2012, 03:46 PM
  3. Weighing Point Clusters
    By zealot in forum Excel General
    Replies: 5
    Last Post: 12-25-2010, 04:18 PM
  4. Macro to copy same 3 cells repeatedly
    By jsnoz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-23-2008, 08:39 PM
  5. [SOLVED] Basic question: Grids or no grids
    By rs in forum Excel General
    Replies: 3
    Last Post: 01-12-2006, 04:35 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