If I change transmission solenoid will it help my transmission shift better on 1999 Acura TL

it seems to happen all the time it will drive only in 2nd gear

Asked by for the 1999 Acura TL
What were the specific codes?
1 more answer , 1 more comment
i would seek to diagnostic first at aamco transmission before wasting your money.
thank you already did that the codes read the tranny is shot just thought maybe I would get a little more life out of it