I agree with CK. Unless it is a very up-market microwave, they are not worth fixing.
If the high voltage transformer has failed a spare is very expensive. Also the high voltage diodes are hard to get.
Possibly look out for a discarded similar model to rob for parts, but it may have the same fault.
Be very careful if you open your microwave up, as there are some large high voltage capacitors inside that can hold a LETHAL charge for some hours after switching the unit off!
Jo, December 2013