How to delete duplicate bank account

Is there an opening balance on that account?

Are you trying to delete “Current Account 2”? This actually is the system current account (nominal code 1200), which is why it can’t be deleted.

You could however move all the entries into there using the re-coding tool, rename this account then remove the other account.