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




-- 
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

Reply via email to