To leave the projects in place remove the line
.Range("B8:C71").ClearContents
from the save and clear sub
or to give you the option - replace
.Range("B8:C71").ClearContents
.Range("E8:F71").ClearContents
.Range("I8:o71").ClearContents
.Range("Q8:S71").ClearContents
'clear employee name
.Range("o4:S4").ClearContents
'put in date for next week
.Range("Q2").Value2 = .Range("Q2").Value2 + 7
'position the cursor
.Range("B8").Select
with
Dim Answer As String
Answer = MsgBox("Clear Project Data ?", vbQuestion + vbYesNo, "???")
If Answer = vbNo Then
.Range("E8:F71").ClearContents
.Range("I8:o71").ClearContents
.Range("Q8:S71").ClearContents
'clear employee name
.Range("o4:S4").ClearContents
'put in date for next week
.Range("Q2").Value2 = .Range("Q2").Value2 + 7
'position the cursor
.Range("B8").Select
Else
.Range("B8:C71").ClearContents
.Range("E8:F71").ClearContents
.Range("I8:o71").ClearContents
.Range("Q8:S71").ClearContents
'clear employee name
.Range("o4:S4").ClearContents
'put in date for next week
.Range("Q2").Value2 = .Range("Q2").Value2 + 7
'position the cursor
.Range("B8").Select
End If
Bookmarks