I have a problem while selection
So you want to apply one material to bunch of objects?
1) Apply material to one object.
2) Select all the spheres.
3) Right click on the sphere that has material applied to it to make it active object (it will have yellow contour instead of orange).
4) Do ctrl + L and chose "Material" to link materials.
5) Voila, all spheres have that material.