**** IM NOT SURE IF I UNDERSTAND YOUR 3RD PARAGRAPH TO YOUR LAST REPLY "you need to gently push & rotate/wiggle the cable into it's housing at the speedo end to be sure it is engaging the green plastic gear at the tranny end - then hold it down in position as you slide the other end into the speedometer." ****
OK, this is going to be wordy, and my memory may very well be faulty...
As I recall, the (round) cable ends are "squared" to fit into a square hole in the plastic gear at one end and the speedo at the other.It seems to me that the cable is "loose" in it's housing, ie, while it's housing is still assembled at the tranny the cable can be pulled all the way out of the housing from the speedo end. It can be slid back into the housing again and, by wriggling, turning and pushing the cable at the speedo end, it can be coaxed to slide right back into the plastic gear at the other end. When you do pull it up a bit, it (of course) disengages from the green plastic gear. If the cable ends are not properly slid into the square receptacles (speedo head and gear) then the cable is cramped, or stuffed into the cable housing and binds so it turns hard, if at all, causing the plastic gear to be damaged (it is made of plastic on purpose, so that it will be the weakest link).
If the speedo cable end is left loose while driving the car, the rotary action of the cable in it's housing can cause the cable to back out of the plastic gear and it will appear that something is wrong because the cable is not rotating. Thus you may have to "hold" the speedo end of the cable in with the tip of your finger to keep it from backing out while test driving, in order to be sure the cable is being turned by the tranny.
Likewise you may need to hold the cable in with the tip of a finger whilst assembing the cable housing "nut" to the speedo (ensuring that the cable stays engaged with the plastic gear and that the flats on the cable end slide smoothly into the speedo receptacle). If a cable end slips out of it's receptacle at either end while you are assembling the cable at the speedo, then it may be crammed against the end of the square hole it is supposed to slide into (rather than sliding in) or "cocked" partway into the hole, and you get a binding cable.
This may not be your problem at all, I am just trying to point out that you need to have deft fingers while assembling the cable to the speedo, orienting the rotating shaft on the speedo head to ensure that the cable slides smoothly into it as it is supposed to, and not allowing the cable to slide out at the tranny end while doing this speedo assembly. Tough to do, because it's a very cramped space for your hands and you are hard pressed to see it while you're assembling it. If it feels like you're forcing the nut onto the speedo, or it doen't seem to want to go on as far as it should, the cable is probably binding at one of it's ends (ie, it's square ends are not smoothly seated all the way into the square holes).
Good luck