+ Reply to Thread
Results 1 to 2 of 2

Prevent Save if Cells in a range are still Red (Conditional formatting)

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    44

    Prevent Save if Cells in a range are still Red (Conditional formatting)

    I am having no luck with this. I want to prevent a user from saving the workbook if some cells in Range("K8:S51") are still red because the conditions have not been met to turn change them. Here is what I have thus far and no matter what I do it gives me an error. I am not sure if I use Index number or RGB?
    Please Login or Register  to view this content.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Prevent Save if Cells in a range are still Red (Conditional formatting)

    You need to to test for whatever the format condition is rather than looking at the format itself.
    Martin

+ 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. Replies: 2
    Last Post: 07-14-2014, 05:45 AM
  2. Replies: 3
    Last Post: 08-13-2013, 09:44 AM
  3. [SOLVED] Prevent Conditional Formatting on Blank Cells
    By HangMan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-17-2013, 03:30 PM
  4. Replies: 2
    Last Post: 05-12-2012, 01:59 AM
  5. Replies: 1
    Last Post: 06-27-2007, 06:19 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