Hello Kings,
i have multiple sheets, the first column in each one is "ID number"
i am using this code to delete the entire row in the first sheet
answer = MsgBox("are you sure you want to delete", vbYesNo, vbQuestion)
If answer = vbYes Then
Selection.EntireRow.Delete
Else
'do nothing
End If
but i want if i said yes it will delete the entire rows in everysheet that sharing the same "ID number" ( selection)
please help
i have multiple sheets, the first column in each one is "ID number"
i am using this code to delete the entire row in the first sheet
answer = MsgBox("are you sure you want to delete", vbYesNo, vbQuestion)
If answer = vbYes Then
Selection.EntireRow.Delete
Else
'do nothing
End If
but i want if i said yes it will delete the entire rows in everysheet that sharing the same "ID number" ( selection)
please help