+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting -II Thick Box border

  1. #1
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Exclamation Conditional Formatting -II Thick Box border

    I have a sheet where Row 26 has Dates.
    I want to write a macro that if the dates in row 26 is 10/27/2013,11/3/2013,11/10/2013,11/17/2013 or 11/24/2013 then select the column from row 26 till the end of the column where it finds the last data and give that a thick box border.

    Any help is appreciated!
    thanks!
    Last edited by pdalal; 10-25-2013 at 10:32 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,730

    Re: Conditional Formatting -II Thick Box border

    Can you explain this part in more detail:

    Quote Originally Posted by pdalal View Post
    if the dates in row 26 is 10/27/2013,11/3/2013,11/10/2013,11/17/2013 or 11/24/2013
    What does the layout of this row look like? Do you mean if any of these dates are found anywhere in the row, or in a specific position?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Conditional Formatting -II Thick Box border

    samplev1.xlsx
    This is a sample file that I have .
    All the dates are in row 26.I needs all the the data from Line 26 with dates 10/20 -11/24, irrecpective of column header to have a thick box border.

    Thanks!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,730

    Re: Conditional Formatting -II Thick Box border

    Try this. Note that based on your specification, if there is no data in a column there are no borders in that column. You also didn't say how you want the macro to be triggered, so I'll leave that up to you.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Conditional Formatting -II Thick Box border

    Hi 6string jazzer,
    The macro works but it only does the box border on the cell with date 10/20 .It is supposed to do for date =10/27 and <=11/24
    Also is there a way to get "All borders " as supposed to just the exterior border.
    Thanks!
    Last edited by pdalal; 10-25-2013 at 11:02 PM.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,730

    Re: Conditional Formatting -II Thick Box border

    ...it only does the box border on the cell with date 10/20 .It is supposed to do for date =10/27 and <=11/24
    Your description said:

    ...select the column from row 26 till the end of the column where it finds the last data and give that a thick box border.
    The first column for 10/20 is the only one that has data. The other columns with dates 10/27 - 11/24 have no data. Therefore no boxes.

    Did you mean that you want the box around cells even if there is no data? If so, here is a revision, which also boxes each individual cell.

    Please Login or Register  to view this content.

+ 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. Conditional Formatting - Thick Border?
    By fedude in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-03-2023, 01:17 PM
  2. Conditional Formatting - Thick Border?
    By Inta in forum Excel General
    Replies: 1
    Last Post: 12-30-2012, 08:34 PM
  3. Thick Top Border
    By scotfitz in forum Excel General
    Replies: 2
    Last Post: 05-11-2009, 10:42 AM
  4. How to keep Thick border when filtering
    By Zyphon in forum Excel General
    Replies: 1
    Last Post: 01-03-2008, 06:09 AM
  5. [SOLVED] Conditional Formatting - Thick Borders?
    By fedude in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2006, 05:35 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