Hi Beth - if it's wrong then it can be 'picked up' at any time and amended. Use the contact form to 'report an error' if it has to be corrected before completion -
Guidance and support for property professionals - GOV.UK
If the seller is the company and they are coming off the register then confirmation re name and correct company number can be provided on submission - the key conveyancing QW is whether the buyer, their conveyancer and perhaps crucially any mortgage lender all accept and agree that the named company is one and the same of course
Companies House can confirm correct number and key with reporting an error is also to see whether there was a mistake in the submission/registration or not. Check the 'wrong number' via Co Hse as well to see if valid as well is something to help any decision-making