The control of magnetism is indispensable for magnetic devices. We have focused on a chemical control of magnetism without disturbing magnetic ions. Here we report two examples: boron-added Pd_(0.75)Mn_(0.25) alloy and Al_(8.5-x)Fe_(23)Ge_(12.5+x). In Pd_(0.75)Mn_(0.25)B_x, although the mother compound is a spin glass compound, a boron-added sample shows a room-temperature ferromagnetism. Al_(8.5-x)Fe_(23)Ge_(12.5+x) may be regarded as a rare system, showing a crossover from ferromagnetism to antiferromagnetism by changing the atomic ratio between Al and Ge.