+ Reply to Thread
Results 1 to 3 of 3

Recording a macro that includes conditional formatting doesn't work

  1. #1
    Registered User
    Join Date
    08-20-2015
    Location
    London
    MS-Off Ver
    2016 for Mac
    Posts
    11

    Question Recording a macro that includes conditional formatting doesn't work

    Hi,

    I have been trying to record a macro that uses a conditional formatting to highlight duplicates in rows using the formula
    Please Login or Register  to view this content.
    The conditional formatting formula works a treat when I run it manually, but everytime I record it as a macro, the finished macro seems to ignore any of the conditional formatting I recorded. E.g, after finishing the recording and pressing stop, I go into edit and see that the macro only shows this:

    Please Login or Register  to view this content.
    Does anyone have any ideas, please? Thanks a million!
    J
    Last edited by Jtec75; 06-19-2020 at 07:50 AM. Reason: Forgot to add code tag

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,851

    Re: Recording a macro that includes conditional formatting doesn't work

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-20-2015
    Location
    London
    MS-Off Ver
    2016 for Mac
    Posts
    11

    Re: Recording a macro that includes conditional formatting doesn't work

    Hi Alan,
    Thanks so much for your help! So sorry about the code tags...being a novice, I wasn't sure what that was. I edited the post and think that's what you mean. Please let me know if I need to do anything else, though.
    Much appreciated!
    J

    Quote Originally Posted by alansidman View Post
    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

+ 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. Recording a Macro for Conditional Formatting
    By kfowler2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2019, 12:54 PM
  2. [SOLVED] conditional formatting - doesn't work
    By Danny77 in forum Excel General
    Replies: 10
    Last Post: 04-25-2019, 03:07 PM
  3. Conditional Formatting doesn't work after copy and insert
    By amarus99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-01-2012, 02:52 PM
  4. Excel 2007 : AND doesn't work in Conditional Formatting
    By cellarir in forum Excel General
    Replies: 2
    Last Post: 03-21-2012, 06:10 PM
  5. Recording conditional formatting macro
    By ad9051 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-14-2011, 02:53 PM
  6. Recording a filter which then doesn't work.
    By Peter Rooney in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-03-2005, 12:10 PM
  7. Macro doesn't work but recording it does.
    By Rob in forum Excel General
    Replies: 4
    Last Post: 05-24-2005, 06:32 AM

Tags for this Thread

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