ThomasSA98
New Member
- Joined
- Sep 26, 2022
- Messages
- 16
- Office Version
- 2021
- Platform
- Windows
Hi everyone
I have an excel workbook with projects listed.
I have a column that gets manually updated from an dropdown with the values "Identify, Analyze, Implementation, Effectiveness check, Done". Once it is "Done" it indicates as Project completed.
I want the sheet to automatically move the entire row of the completed project to a sheet in the same work book called 3C Done and remove the row from the sheet with the projects in progrees sheet. I use the VBA code for this:
Private Sub Worksheet_Change(ByVal Target As Range)
'Subscribe to youtube.com/excel10tutorial
Dim Z As Long
Dim xVal As String
On Error Resume Next
If Intersect(Target, Range("E:E")) Is Nothing Then Exit Sub
Application.EnableEvents = False
For Z = 1 To Target.Count
If Target(Z).Value > 0 Then
Call MoveBasedOnValue
End If
Next
Application.EnableEvents = True
End Sub
But i also want, that if I accidentally press "Done", then i will in the sheet "3C Done" press for example "Analyze" and then it is supposed to go back again. But i cant figure it out, and i really need your help to this!
Looking forward to your help
I have an excel workbook with projects listed.
I have a column that gets manually updated from an dropdown with the values "Identify, Analyze, Implementation, Effectiveness check, Done". Once it is "Done" it indicates as Project completed.
I want the sheet to automatically move the entire row of the completed project to a sheet in the same work book called 3C Done and remove the row from the sheet with the projects in progrees sheet. I use the VBA code for this:
Private Sub Worksheet_Change(ByVal Target As Range)
'Subscribe to youtube.com/excel10tutorial
Dim Z As Long
Dim xVal As String
On Error Resume Next
If Intersect(Target, Range("E:E")) Is Nothing Then Exit Sub
Application.EnableEvents = False
For Z = 1 To Target.Count
If Target(Z).Value > 0 Then
Call MoveBasedOnValue
End If
Next
Application.EnableEvents = True
End Sub
But i also want, that if I accidentally press "Done", then i will in the sheet "3C Done" press for example "Analyze" and then it is supposed to go back again. But i cant figure it out, and i really need your help to this!
Looking forward to your help