+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting in Xl 2010 vs. earlier versions

  1. #1
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Conditional formatting in Xl 2010 vs. earlier versions

    Hi,

    I normally use Option Explicit at the begining of all my code, but found one instance that is troubling me. Part of a macro performes conditional formatting. Depending on the version of Excel you have, I have set up two scenarios: one for XL 2010 and one for XL 2007. The problem is that it will not compile in a machine that runs XL 2007 if I have Option Explicit added to the top of my code because it doesn't recognize the variables that MS introduced with the newer version of XL. I tried declaring them as variants but to no avail.

    Any thought?

    Please Login or Register  to view this content.
    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Conditional formatting in Xl 2010 vs. earlier versions

    Any thoughts?

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Conditional formatting in Xl 2010 vs. earlier versions

    A small bump.

+ 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