I can delete a command button that is located on a known frame with the following code;

Please Login or Register  to view this content.
Any help would be very much appreciated.

The problem is that at the time of selecting account for deletion I wont know which frame it's located. By using the cmd button .backcolor it will tell me which frame it resides ie &H80FFFF = "Bank Accounts"

I have tried the following:

Please Login or Register  to view this content.
This is the full code;

Please Login or Register  to view this content.