crenaud76
Messages postés4172Date d'inscriptionmercredi 30 juillet 2003StatutMembreDernière intervention 9 juin 200628 15 sept. 2003 à 14:53
Si ton bouton sur lequel tu veux simuler un clic s'appelle Command1, fait appel à la sub : Command1_click()
Exemple :
Dans le code d'un bouton Command2 tu peux faire
Private Sub command2_click()
'Simule un click sur Command1
Command1_Click
End Sub
Tu peux même faire cet appel depuis un autre formulaire en rendant l'evt Click de command1 "Public"