after searching for more than 2 hours on Google, I found nothing very conclusive for my problem. I would therefore ask for your help and hope you can find a solution.
I just created a database on Excel ,everything works fine. I would now like to make some changes.
i want make password when i want click in button "delete" i want more security for my database so when i click in button "delete" the password appear and when enter the password the action complete and deleted.
my code is :
Private Sub CmdSupprimer_Click()
    Dim réponse
    réponse = MsgBox(" Etes vous certain de vouloir SUPPRIMER cette fiche ?  ", vbYesNo + vbQuestion, "Validation")
    If réponse = vbNo Then
UserForm_initialize
Else
Static X As Long
If Me.Liste1 <> -1 Then
      X = Liste1.List(Liste1.ListIndex, 262)
    Feuil1.Rows(X).Delete
      Liste1.RemoveItem (Liste1.ListIndex)
End If
Me.Label1 = Liste1.ListCount & " Suivie : Pont Bascule "
 End If
End Sub