+ Reply to Thread
Results 1 to 4 of 4

Macros and conditional formatting

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    25

    Macros and conditional formatting

    Hi Guys,

    I have a small challenge with Macro recording. I have a big table with few conditional formatting rules. I Macro recorded copying the table to new sheet with transpose and few cosmetic changes - all works. However, when I run Macro the table is copied with all the conditional formatting. In order for the conditional formatting to work the formula need to refer to the initial sheet I copied the table from.
    I adjusted the conditional formatting but Macros doesn't record it and when I run it will not change the formula of the conditional formatting. Any thoughts or suggestions?

    Thanks

  2. #2
    Forum Contributor wakeupcall's Avatar
    Join Date
    02-29-2012
    Location
    Sofia, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: Macros and conditional formatting

    That is perhaps because the conditional formatting has already been applied to your table

    If not too complex, try clearing it and then start recording by re-applying it again and then copy your table.
    This will give you the syntax of the conditional formatting, which you can then tweak in your code to refer to the original table and re-apply on the 2nd
    Liked the answer given? click * to say so

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Macros and conditional formatting

    thanks for the tip. I will try it and let you know the results.

  4. #4
    Registered User
    Join Date
    04-26-2013
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Macros and conditional formatting

    training plan trial.xlsm
    Hi Guys,

    I tried to do a conditional formating whilst recording but Macros recording doesn't pick up any activity. I attached a file which I am working on, so you can see what I want to do.

    I will appreciate any thoughts.

    Thanks

+ 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] Help with Macros and/or Conditional Formatting.
    By Inez15 in forum Excel General
    Replies: 5
    Last Post: 11-08-2012, 01:11 PM
  2. Conditional formatting and macros.
    By johnfar in forum Excel General
    Replies: 0
    Last Post: 12-15-2011, 09:41 AM
  3. Conditional Formatting Macros
    By njadam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2011, 02:58 AM
  4. Replies: 8
    Last Post: 10-14-2011, 11:46 AM
  5. Conditional Formatting And Macros
    By Dominic_Hodgson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2007, 05:33 AM

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