+ Reply to Thread
Results 1 to 6 of 6

Detecting conditional formatting

  1. #1
    RJH
    Guest

    Detecting conditional formatting

    I'm tring to detect when a cell turns red.
    Let's say Sheet 2 Cell B2 contains a number.
    When that number is below 3 the cell is turned red with conditional
    formatting.
    I need to detect the color change.
    I can catch the number dropping below 3 but that doesn't work for me, I need
    to dectect the color change. (Excel 03)

    How could I do this?

    Thanks!

    RJH



  2. #2
    JE McGimpsey
    Guest

    Re: Detecting conditional formatting

    In article <ctrOf.6749$4%[email protected]>,
    "RJH" <[email protected]> wrote:

    > I'm tring to detect when a cell turns red.
    > Let's say Sheet 2 Cell B2 contains a number.
    > When that number is below 3 the cell is turned red with conditional
    > formatting.
    > I need to detect the color change.
    > I can catch the number dropping below 3 but that doesn't work for me, I need
    > to dectect the color change. (Excel 03)
    >
    > How could I do this?


    AFAIK, you can't, at least not directly. If CF, which is applied after
    calculation, is dependent on B2<3, why is detecting B2<3 not sufficient?

  3. #3
    RJH
    Guest

    Re: Detecting conditional formatting

    It's not sufficient because I'm looking at a range of many cells with varied
    conditions and would need to write many different macros as opposed to
    looping through the range of cell and looking for a red cell. If it can't
    be done I guess I'll have to come at it with a different approach.

    Thanks for the input!

    RJH


    "JE McGimpsey" <[email protected]> wrote in message
    news:[email protected]...
    > In article <ctrOf.6749$4%[email protected]>,
    > "RJH" <[email protected]> wrote:
    >
    >> I'm tring to detect when a cell turns red.
    >> Let's say Sheet 2 Cell B2 contains a number.
    >> When that number is below 3 the cell is turned red with conditional
    >> formatting.
    >> I need to detect the color change.
    >> I can catch the number dropping below 3 but that doesn't work for me, I
    >> need
    >> to dectect the color change. (Excel 03)
    >>
    >> How could I do this?

    >
    > AFAIK, you can't, at least not directly. If CF, which is applied after
    > calculation, is dependent on B2<3, why is detecting B2<3 not sufficient?




  4. #4
    Gary''s Student
    Guest

    Re: Detecting conditional formatting

    See:

    http://www.cpearson.com/excel/CFColors.htm

    and


    http://j-walk.com/ss/excel/odd/odd07.htm
    --
    Gary's Student


    "RJH" wrote:

    > It's not sufficient because I'm looking at a range of many cells with varied
    > conditions and would need to write many different macros as opposed to
    > looping through the range of cell and looking for a red cell. If it can't
    > be done I guess I'll have to come at it with a different approach.
    >
    > Thanks for the input!
    >
    > RJH
    >
    >
    > "JE McGimpsey" <[email protected]> wrote in message
    > news:[email protected]...
    > > In article <ctrOf.6749$4%[email protected]>,
    > > "RJH" <[email protected]> wrote:
    > >
    > >> I'm tring to detect when a cell turns red.
    > >> Let's say Sheet 2 Cell B2 contains a number.
    > >> When that number is below 3 the cell is turned red with conditional
    > >> formatting.
    > >> I need to detect the color change.
    > >> I can catch the number dropping below 3 but that doesn't work for me, I
    > >> need
    > >> to dectect the color change. (Excel 03)
    > >>
    > >> How could I do this?

    > >
    > > AFAIK, you can't, at least not directly. If CF, which is applied after
    > > calculation, is dependent on B2<3, why is detecting B2<3 not sufficient?

    >
    >
    >


  5. #5
    RJH
    Guest

    Re: Detecting conditional formatting

    WOW!
    That should help!

    Thanks!!

    RJH

    "Gary''s Student" <[email protected]> wrote in message
    news:[email protected]...
    > See:
    >
    > http://www.cpearson.com/excel/CFColors.htm
    >
    > and
    >
    >
    > http://j-walk.com/ss/excel/odd/odd07.htm
    > --
    > Gary's Student
    >
    >
    > "RJH" wrote:
    >
    >> It's not sufficient because I'm looking at a range of many cells with
    >> varied
    >> conditions and would need to write many different macros as opposed to
    >> looping through the range of cell and looking for a red cell. If it
    >> can't
    >> be done I guess I'll have to come at it with a different approach.
    >>
    >> Thanks for the input!
    >>
    >> RJH
    >>
    >>
    >> "JE McGimpsey" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > In article <ctrOf.6749$4%[email protected]>,
    >> > "RJH" <[email protected]> wrote:
    >> >
    >> >> I'm tring to detect when a cell turns red.
    >> >> Let's say Sheet 2 Cell B2 contains a number.
    >> >> When that number is below 3 the cell is turned red with conditional
    >> >> formatting.
    >> >> I need to detect the color change.
    >> >> I can catch the number dropping below 3 but that doesn't work for me,
    >> >> I
    >> >> need
    >> >> to dectect the color change. (Excel 03)
    >> >>
    >> >> How could I do this?
    >> >
    >> > AFAIK, you can't, at least not directly. If CF, which is applied after
    >> > calculation, is dependent on B2<3, why is detecting B2<3 not
    >> > sufficient?

    >>
    >>
    >>




  6. #6
    RJH
    Guest

    Re: Detecting conditional formatting

    WOW!
    That should help!

    Thanks!!

    RJH

    "Gary''s Student" <[email protected]> wrote in message
    news:[email protected]...
    > See:
    >
    > http://www.cpearson.com/excel/CFColors.htm
    >
    > and
    >
    >
    > http://j-walk.com/ss/excel/odd/odd07.htm
    > --
    > Gary's Student
    >
    >
    > "RJH" wrote:
    >
    >> It's not sufficient because I'm looking at a range of many cells with
    >> varied
    >> conditions and would need to write many different macros as opposed to
    >> looping through the range of cell and looking for a red cell. If it
    >> can't
    >> be done I guess I'll have to come at it with a different approach.
    >>
    >> Thanks for the input!
    >>
    >> RJH
    >>
    >>
    >> "JE McGimpsey" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > In article <ctrOf.6749$4%[email protected]>,
    >> > "RJH" <[email protected]> wrote:
    >> >
    >> >> I'm tring to detect when a cell turns red.
    >> >> Let's say Sheet 2 Cell B2 contains a number.
    >> >> When that number is below 3 the cell is turned red with conditional
    >> >> formatting.
    >> >> I need to detect the color change.
    >> >> I can catch the number dropping below 3 but that doesn't work for me,
    >> >> I
    >> >> need
    >> >> to dectect the color change. (Excel 03)
    >> >>
    >> >> How could I do this?
    >> >
    >> > AFAIK, you can't, at least not directly. If CF, which is applied after
    >> > calculation, is dependent on B2<3, why is detecting B2<3 not
    >> > sufficient?

    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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