My daughter's Astra Bertone (2002 model) had this fault
A common problem with these key fobs is that the battery holder itself becomes detached from the little circuit board inside fob (Try shaking the fob and you may hear rattling).
If you split the key fob by lifting the little tang on the other side from the lock / unlock buttons slightly and pulling the 2 parts clear from each other you'll be left with part that goes in igniton and the part that contains the battery.On battery part gently prise the 2 halves apart just by use of your fingers (Watch for the circuit board dropping out).If the battery holder is loose or detached fill the half cover (usually has a red gasket/joint around it) with tissue paper folded over several times and this will compress the battery hold to the connections.
I used this method on both my daughters keys and it worked on each when using the key in igniton point II method.
BMW Owner and will keep it that way
March 2012