The easiest way to do this is by putting different values in each button. E.g. Add Customer, Delete Customer, Edit Cusotmer.<br><br>You can then check the value of the button selected and then proceed with whatever functions etc you need to do.<br><br>e.g.<br> If Submit = "Add Cutomer Then<br> Do some stuff<br> ElseIF Submit = "Delete Customer" Then<br> Do something else<br> End IF<br><br>Hope this helps<br>