Results 1 to 11 of 11

code for deleting existing conditional rules and reapplying them back

Threaded View

  1. #1
    Registered User
    Join Date
    05-06-2013
    Location
    toronto,Canada
    MS-Off Ver
    Excel 2010
    Posts
    75

    code for deleting existing conditional rules and reapplying them back

    Hi, I have a spreadsheet with 2 workbooks and in each workbook, there are a few conditional formatted columns. What I would like to do is have a macro that: 1) clears the existing cond. formats. 2)reapply those formats back on to the cells.

    The attached file described where the cond. formats are applied. The first workbook contains cond. formats in column N,PQRST(same conditions for pqrst), and column O in the second workbook.

    I am ok with having 2 macros: 1 to delete exisiting conditional rules(thereby getting rid of the colors)
    2 to reapply the same cond format(reapply color)

    Keep in mind that the number of rows could potentially increase at a later date, but the formatting will essentially stay the same. I just dont want the rule to be applied to 4983049288 cells, only the non empty cells.

    Thank you in advance for your help!
    Attached Files Attached Files
    Last edited by hk4kim; 07-29-2013 at 02:18 PM. Reason: no one is helping so i'm closing the thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 07-17-2013, 06:14 PM
  2. Deleting rows without conditional formatting
    By ShawnaC in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2013, 02:38 PM
  3. conditional Formatting based on existing formatting
    By jomili in forum Excel General
    Replies: 18
    Last Post: 02-18-2011, 10:17 AM
  4. Conditional Formatting Fails after Deleting Column
    By k777 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2010, 08:28 PM
  5. Insert a new condition before existing conditional formatting conditions
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2009, 04:33 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