Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8599801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:28:27+00:00 2026-06-12T01:28:27+00:00

Working on a situation where if i cant logically go through and add a

  • 0

Working on a situation where if i cant logically go through and add a new range of cells to a pre-defined Conditional Format then i will have to format close to 1000 rows.

After reading this article on MSDN, it says Index or Name, obviously someone got lazy and just copy/pasted information. But by the off chance, can a name be associated with a Conditional Format?

If not, then how do i control order in which the Formats are read? They are all formula formats, and none are the prefab types.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:28:28+00:00Added an answer on June 12, 2026 at 1:28 am

    You can use the SetFirstPrioritymethod to order your format conditions, or just create them as you go, with each condition coming after the previous one, as in the below code.

    Dim myRange As Range
    
    Set myRange = Selection
    
    With myRange
    
        'First condition
        .FormatConditions.Add Type:=xlExpression, Formula1:="=A6=125"
        With .FormatConditions(.FormatConditions.Count).Interior
            .PatternColorIndex = xlAutomatic
            .ThemeColor = xlThemeColorDark2
            .TintAndShade = -0.899960325937681
        End With
        .FormatConditions(.FormatConditions.Count).StopIfTrue = False
    
        'second condition
        .FormatConditions.Add Type:=xlExpression, Formula1:="=A6=250"
        With .FormatConditions(.FormatConditions.Count).Interior
            .PatternColorIndex = xlAutomatic
            .ThemeColor = xlThemeColorDark2
            .TintAndShade = -0.899960325937681
        End With
        .FormatConditions(.FormatConditions.Count).StopIfTrue = False
    
    End With
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: I'm working with Adobe Livecycle ES2 and Flex In our project we show
Situation: I am working to populate text entry boxes in a webpage with data
Situation I have been working on a project lately where the UI development seems
Situation: We are working on a project that reads datafeeds into the database at
My situation is as follows: I'm working on an implementation of BlackJack. I've got
We have situation where say we have four engineers that are working on software
I am working on a website and I came across an interesting situation. In
I recently encountered a situation in some code I am working on that doesn't
I have a very strange situation. I´m working on a pretty big Java application
Presently Iam working in finding disparity of stereo pair. I have got a situation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.