Consulting

Results 1 to 10 of 10

Thread: Sleeper: Conditional format

  1. #1
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location

    Sleeper: Conditional format

    I need to find a way to use conditional formatting or something that when a condition is met make the text in the cells white. Ordinarily this would not be a problem but most of the cells have thin black borders on them. How do you deal with them?
    Peace of mind is found in some of the strangest places.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    What does the black border have to do with the text colour?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    The condition you're thinking of would help , when you say black lines do you mean the border? Right click>format cells>borders and click none, or do you mean the grid as it stands? menubar>options>display and uncheck show gridlines
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  4. #4
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    WhAt I Am saying is I want everything in that cell range to be inviIble
    Peace of mind is found in some of the strangest places.

  5. #5
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    trying to come up with a formula in conditional formatting that will do the following on the attached WB:

    remove the border in A1, remove the fill color in D5 and make the text white in E2.
    Peace of mind is found in some of the strangest places.

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I think that you need to set the gridlines colour to a known (to you) colour, and then set the border to that colour in the CF.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  7. #7
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    What would the formula look like?
    Peace of mind is found in some of the strangest places.

  8. #8
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    The formula is irrelevant Austen (to this discussion, it would depend upon what data would drive hiding the borer, which only youy know), but is all in the formatting.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  9. #9
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Bob,

    Have multiple ranges of cells to do hiding of border colors(automatic), cell text color(automatic). The data that drives the formatting is the value contained in
    Sheets("Sheet2").Range("E4")
    Sorry to be so dense and maybe not explaining it well. All I want to do if the condition is met is to have the cells look like any ordinary blank cell.

    What I am really wanting to find out is how to format multiple ranges of cells as described above if the condition is met. In other words, in the conditional formatting would I choose value is, or do I need to construct a formula to do all ranges simultaneously?
    Peace of mind is found in some of the strangest places.

  10. #10
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Never mind I think I got it.
    Peace of mind is found in some of the strangest places.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •