+ Reply to Thread
Results 1 to 3 of 3

Insert a new condition before existing conditional formatting conditions

  1. #1
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    Insert a new condition before existing conditional formatting conditions

    Is is possible (via vba) to Insert a new condition before existing conditional formatting conditions.
    My existing cells with cond format have max of 2 conditions at present.
    Due to the large number of cells/columns involved with varying conditional formatting requirements, i would like to insert a new condition (as condition 1 - as having precedence overs lower existing conds) to each cell in a given row, then i can copt down as required.

    The example file attached has -
    - cells in row 2 of columns titled data 1, data 2 & data 3 with required result in condition 1 (make black if Action = Ignore).
    - cells in row 3 of columns titled data 1, data 2 & data 3 has the an example of an existing condition 1.

    Irrespective of existing conditions 1 or 2, is it possible to insert a new condition via vba or add, then re-number the last condition to become the first, and increment other positions to + 1
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-14-2008
    Posts
    153

    Re: Insert a new condition before existing conditional formatting conditions

    Hi,

    Try this to add new condition (manually) and then change its position:
    1. Select your cell.
    2. Click Conditional Formatting then click Manage Rules.
    3. When the Rules window opens click New Rule then add your rule.
    4. There are two arrows (top right) that will allow you to change the position of a condition by moving it up or down in the list.

    Regards.
    Welcome to: http://www.exceldigest.com/myblog/
    "Excel help for the rest of us"

  3. #3
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    Re: Insert a new condition before existing conditional formatting conditions

    I am using 2003, it doesnt appear to have a manage Rules function.

+ 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