Depends on how efficient the solicitor or switcher service is....when he sends in the new undertaking, cheque requisition etc, the new lender will issue your cheque.
Can't give timeframes as it depends how fast your solr is. If he has already acted for the original purchase of your house, it may help.