First turn on component you wish to program.
Set switch to component you wish to program.
Press SET button
Press CH + buton and then POWER button.
Repeat until correct code is located. (Up to 70+ times)
When component turns off, press TV/VIDEO button to store code.
This is from the Manual which is on
www.sonystyle.com under support information.