+ Reply to Thread
Results 1 to 4 of 4

Macro for conditional formatting using isna, match and indirect in the formula

  1. #1
    Registered User
    Join Date
    02-12-2009
    Location
    San Salvador, El Salvador
    MS-Off Ver
    Excel 2003
    Posts
    10

    Macro for conditional formatting using isna, match and indirect in the formula

    I have configured conditional formatting to check valid entries in a dependant list. I used the solution provided by SHG at:

    http://www.excelforum.com/excel-prog...ant-lists.html

    Now I need to use a macro to activate and deactivate the conditional formatting due to performance issues.

    When the formula for data validation includes the indirect funtion I got a compile error and the macro won't run.

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by rmarroq; 04-03-2009 at 10:41 AM. Reason: Problem has been solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro for conditional formatting using isna, match and indirect in the formula

    I think you need some more quotes in there:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro for conditional formatting using isna, match and indirect in the formula

    Post up that whole macro, it can be shortened up quite a bit.

  4. #4
    Registered User
    Join Date
    02-12-2009
    Location
    San Salvador, El Salvador
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Macro for conditional formatting using isna, match and indirect in the formula

    Thanks, the double quotation marks worked fine.

+ 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