Or an easier way is to program one set and copy just that key across the board in the multiline set key assignment form.
You can either enter each extension you wish to program or one massive range and it will program what is actually there. The later could take a while if your ext numbers are not sequential.
This would only work if you are using the same key on each phone.