An access to cash crisis has been avoided after customers in Hawick were offered a lifeline following the latest bank closure in the town.