My mistake, the ignition should be ON (dash lights on, dont start engine) before holding down AS and switching on radio. There is no beep, when four dashes appear on display let go AS button and enter code as before.
If the radio comes on with the ignition you have to-
Switch ignition on.
Switch radio off.
Switch ignition off.
Switch ignition on.
Hold down AS button and switch on radio, release AS when four dashes appear on display.
Enter code.
Press and hold AS button until it beeps.
Let go button and radio will begin to scan for stations.
I should've checked the book instead of relying on memory!!
Hope it works this time, if it doesn't please post the model of radio.
bbc333, June 2009