I have found this information on another forum and thought I would add it as it might be useful for others - I have not tried it yet, hopefully I will get a chance at the weekend(weather permitting!)
This might manage to reset the mirror and stop the clicking
take off the mirror control panel disconnect the loom set the mirror all the way forward to the front on the car lock the car then plug the loom back in the mirror should then fold all the way in disconnect the loom and unlock the car then fold the mirror all the way forward again lock the car and reconnect the loom this time the mirror will only come to the normal open position disconnect the loom again unlock the car fold the mirror in to the closed position reconnect the loom lock the car the motor will then catch up with the mirror position and should be back to normal when you unlock the car and then lock it again no clicking on close you may need to play around with the sequence a bit to get yours right the first time"
My mum has a 2007 ford fiesta zetec and unfortunately has lost one of the remote keys(3 button fob). She does have another 3 button remote as she got two when she bought the car new but when I contacted my local ford dealer I have been told that it will cost £80 plus vat for a replacement key and then £91.20 inc vat for getting the key programmed, taking 1 hour to do so.
I am hoping that someone can tell me that she does not need to pay this amount! I have been searching online for information but am getting rather confused.
Can anyone advise on if there are other options?