Hi, the following code adds a new command button to a excel user form frame (thanks to help from the forum).
Now comes the problem of deleting an account.Please Login or Register to view this content.
The existing accounts are listed in a list box, account for deletion is selected as per code below:
The code below should delete the required account but I can not get it to work.Please Login or Register to view this content.
At line: Set DelFrameBtn = .Controls(mpfBankAccounts).Controls.Remove("Forms.CommandButton.1") I get compile error: Invalid or Unqualified reference.Please Login or Register to view this content.
I would appreciate any help on this, thanks
Bookmarks