Make sure your air flow sensor is clean . You will find it in a section of the air flow tubing just after the air filter. Remove the wiring plug and loosen both sides of the tubing to remove the sensor chamber . Give it a good spray with electrical solvent cleaner ( not WD40) and replace when dry. This will cure erratic idling and will cure stalling if it is really dirty.
compostheap
September 2008
Hi Mate i have a similar problem on my 97 1.8. I also get erattic idling sometimes too. Vauhall diagnostics have saif camshaft sensor. £115 fitted - part is around £50 and doesn't look too difficult to do
http://www.vauxhallownersnetwork.co.uk/showthread.php?p=1804192