+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting Formula Criteria

  1. #1
    Registered User
    Join Date
    03-30-2017
    Location
    Manchester, UK
    MS-Off Ver
    Windows 10
    Posts
    8

    Conditional Formatting Formula Criteria

    Hi All - I have found a solution to my problem but I don't understand why it works ... so hoping one of the more knowledgeable folk here can help explain.

    Using the Excel front-end I had a rule set based on the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    , so when I came to transfer this to VBA I took the same formula across into my code. However, that never worked:

    Please Login or Register  to view this content.
    Whereas, this code does work:
    Please Login or Register  to view this content.
    I don't get why a more complex formula will works when the other doesn't and everything else is the same in the code.

    Thanks in advance.
    Bob

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Conditional Formatting Formula Criteria

    In VBA strings,
    Please Login or Register  to view this content.
    gets "translated" into
    Please Login or Register  to view this content.
    So, if you want the first way, try this and it should work.
    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  3. #3
    Registered User
    Join Date
    03-30-2017
    Location
    Manchester, UK
    MS-Off Ver
    Windows 10
    Posts
    8

    Re: Conditional Formatting Formula Criteria

    Thanks for the reply Millz, very helpful. Didn't realise I needed to put the "" inside more " ".

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to apply conditional formatting on the basis of particular criteria
    By cadineshkumar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2017, 05:35 AM
  2. [SOLVED] Conditional Formatting based on formula or criteria
    By mrcois in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-06-2017, 01:40 PM
  3. [SOLVED] Formula for Conditional Formatting when criteria is met
    By rz6657 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-02-2017, 11:42 AM
  4. Replies: 5
    Last Post: 06-14-2013, 06:27 PM
  5. [SOLVED] Formula for Multiple Criteria in Conditional Formatting
    By excelheaven in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-08-2013, 10:52 PM
  6. Replies: 2
    Last Post: 06-23-2009, 10:49 AM
  7. One criteria AND cell is blank in conditional formatting formula?
    By westis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2008, 06:37 PM

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