This is being revisited:
Excel = Enter Static Date when Reaching 100%
thread707-1583430
HELP... this module or whatever its called is not running/working on all worksheets. When this is applied doesn't it cover the entire workbook?
Here's what I've changed (so its broken right?) and what I tried to do today... Lord help me.... Well I can't tell you what I did because i can't FIND THE CODE.. ok I found it (see what I mean I'm a mess)
So what we is this (to try and help you picture)
When Cell D3 = 100% then E3 has the date entered automatically and I have it formatted to turn Red if post the date in cell B9 and turn Green if the same as or prior to the date in B9 (Project Due Date)
Under this I have 3 sections with multiple tasks by team.
So when Team 1 reaches 100% (E7) then the date is automatically entered in G7
Likewise for Team 2 in E8 and G8
Likewise for Team 3 in E9 and G9
All of which turn red/green depending on due.
Problem is, the team ones work on some worksheets and not on others. Why?
Then... this morning I really blew it up (working on a copy of course) I added a Form button (Back to Master) and recorded a macro to return back to the Master List worksheet and save the file. Because I did not know how to get it to save and close (how do you stop the macro after your close or will the closing of the workbook while recording the macro tell the macro you are done and will it save it? Are you confused? Think of how *I* feel.
That's when I noticed, as I was adding this button to each of the 60 worksheets in the workbook that some of the projects were at 100% but the dates were not populating in the G7,8,9 cells.
NOW what am I doing wrong/not understanding/breaking?
I'm sure that's probably a better way, right?
Thanks....
LadyCK3
aka: Laurie
Excel = Enter Static Date when Reaching 100%
thread707-1583430
HELP... this module or whatever its called is not running/working on all worksheets. When this is applied doesn't it cover the entire workbook?
Here's what I've changed (so its broken right?) and what I tried to do today... Lord help me.... Well I can't tell you what I did because i can't FIND THE CODE.. ok I found it (see what I mean I'm a mess)
Code:
Private Sub Worksheet_Calculate()
If [D3].Value = 1 And [E3].Value = "" Then [E3].Value = Date
If [E7].Value = 1 And [G7].Value = "" Then [G7].Value = Date
If [E8].Value = 1 And [G8].Value = "" Then [G8].Value = Date
If [E9].Value = 1 And [G9].Value = "" Then [G9].Value = Date
End Sub
So what we is this (to try and help you picture)
When Cell D3 = 100% then E3 has the date entered automatically and I have it formatted to turn Red if post the date in cell B9 and turn Green if the same as or prior to the date in B9 (Project Due Date)
Under this I have 3 sections with multiple tasks by team.
So when Team 1 reaches 100% (E7) then the date is automatically entered in G7
Likewise for Team 2 in E8 and G8
Likewise for Team 3 in E9 and G9
All of which turn red/green depending on due.
Problem is, the team ones work on some worksheets and not on others. Why?
Then... this morning I really blew it up (working on a copy of course) I added a Form button (Back to Master) and recorded a macro to return back to the Master List worksheet and save the file. Because I did not know how to get it to save and close (how do you stop the macro after your close or will the closing of the workbook while recording the macro tell the macro you are done and will it save it? Are you confused? Think of how *I* feel.
That's when I noticed, as I was adding this button to each of the 60 worksheets in the workbook that some of the projects were at 100% but the dates were not populating in the G7,8,9 cells.
NOW what am I doing wrong/not understanding/breaking?
I'm sure that's probably a better way, right?
Thanks....
LadyCK3
aka: Laurie