1 2 3 4 5 6 7 8 9 10 11
| Sub test()
Dim Nom_Prod As String
Dim Date_Prod As Date
Dim Plage_Recherche As Range, Cel As Range
Nom_Prod = Application.InputBox("nom du produit", "recherche de produit", , , , , , 2)
Date_Prod = Application.InputBox("Date du produit (d/m/aa)", "recherche de produit", , , , , , 1)
Set Plage_Recherche = Application.InputBox("Adresse de la plage de recherche", "recherche de produit", , , , , , 8)
MsgBox "Plage de la recherche : " & Plage_Recherche.Address(0, 0) & Chr(13) & Chr(13) & _
"Nom du produit : " & Nom_Prod & Chr(13) & Chr(13) & _
"Date du produit : " & Format(Date_Prod, "DD / MM / YYYY"), , "Recherche de produit"
End Sub |
Partager