Results 1 to 4 of 4

Conditional Formatting Messing up in Macros

Threaded View

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Cool Conditional Formatting Messing up in Macros

    So I run this macro that sets up conditonal formatting for all 3 of my tabs in certain columns, but the last sheet changes the range from $G:$G,$K:$K to $E:$M, and I have no clue why.

    So to fix this I thought this macro would fix it, but instead it is clearing the whole sheet of all conditional formatting.

     Sheets("DETAIL").Select
        Columns("E:E").Select
        Selection.FormatConditions.Delete
        Columns("F:F").Select
        Selection.FormatConditions.Delete
        Columns("H:H").Select
        Selection.FormatConditions.Delete
        Columns("I:I").Select
        Selection.FormatConditions.Delete
        Columns("J:J").Select
        Selection.FormatConditions.Delete
        Columns("L:L").Select
        Selection.FormatConditions.Delete
        Columns("M:M").Select
        Selection.FormatConditions.Delete
        Range("B1").Select
        Sheets("YTD").Select
    I selected invidiual columns since I wasn't getting great results with ranges, but even that is not working. Anyone have a clue on how I can go about to clear just a certain range of condtional formatting? Thanks!
    Last edited by Richard Buttrey; 08-15-2013 at 06:55 PM. Reason: Missing code tags

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. Conditional Formatting And Macros
    By Dominic_Hodgson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2007, 05:33 AM
  5. [SOLVED] Conditional Formatting using Event Macros
    By PamKT in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-23-2005, 08:05 PM

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