What do you mean by "the patients menu isn't working anymore"
I've looked at the patients form
1. I can't see why you need to have a Procedure instead of just placing the code in the button on the form
2. Your code refers to a sheet that doesn't exist - data, it should be current. In fact it does this in other Procedures
3. You use With .....End With, this means you don't have to fully qualify the object each time you refer to it, but doing this means you must precede references for the object with a "."
3. Your sort code sorts only Column A, so the data will not match, you need to sort the Table
Bookmarks