Hi,
You just need to modify your Formula in CF. you can take any cell on worksheet as ON OFF Flag . E.g If I am taking range A1 then your formula will be : = and($A$1<>1,Day<15) to make format yellow When the user will Enter 1 in A1 , Condition in the formula will be false and CF will not apply on the Range, I think we do not have any option to Disable CF except delete all conditions. See the attached Sheet Regards Rajan verma +91 7838100659 [IM-Gtalk] From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of David Grugeon Sent: 06 June 2012 12:08 To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ VBA script to change cell color if text has strikethrough There are problems with this as the conditional formatting overrides any locally applied formatting so the macro would need to exclude that cell from the conditional formatting - not easy and not advisable. Conditional formats can get confused enough without any help. I would suggest you have a column called Status which has either "Uncompleted" or "Completed" you could usefully limit it to these with a validation dropdown. You could include other statuses such as "Working", "Not Started" if you wanted to. Lets call this Column Z Now: in the cell where the conditional formatting is you include, as your first condition =Z1="Completed" and a format of No fill and Strikethrough. HTH David On 6 June 2012 06:33, Michael Landry <miclandr...@gmail.com> wrote: I am working on a spreadsheet that contains several columns with due dates. I have conditional formatting rules that change the cell color as a due date gets closer to today's date. <15 days = yellow <10 days = orange <5 days = red Once an activity has been completed, the user formats the date with strikethrough. At this point, I would like to change the cell color back to "none" so the user doesn't have red cells showing for activities that have already been completed. It appears that I will need a vba script to do this, but I have no idea how to get started. Any assistance would be greatly appreciated! -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com <mailto:excel-macros%2bunsubscr...@googlegroups.com> -- David Grugeon -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com
Book2.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet