In my current project, I need to update a check box in the database everytime I send out an invoice to someone. At the moment, the user clicks on a link on a VB form that takes them into Microsoft Excel where they can edit and then print out the invoice. When they exit Excel they automatically come back to the VB program and this is when I need to update the database.

This is probably an easy question but I cannot seem to solve it.
Can anyone give me an example of some code that wil do this for me?

Thanks