When Botox is used to treat excessive sweating, it weakens the sweat glands rather than muscles. Botox is injected into the area where excessive sweating takes place. It can be injected into the palms of the hands, underarms or soles of the feet.