1998 Honda Civic ex auto trans starts to shift hard and slip after engine is hot

Would you have any idea what it is I have codes
Po700 po740 po730 yet both set of solenoids read good ohms and trans fluid look and smell fine

Your codes mean:

Common Problems That Trigger the P0700 Code
Defective Shift Solenoids
Defective Engine Coolant Temperature Sensor
Defective Valve Body
Dirty transmission fluid that restricts the hydraulic passages

Common Problems That Trigger the P0740 Code
Defective Torque Converter Lockup Solenoid
Defective Engine Coolant Temperature Sensor
Defective Torque Converter Clutch
Defective Valve Body
Dirty transmission fluid that restricts the hydraulic passages

Common Problems That Trigger the P0730 Code
Defective Shift Solenoids
Defective Engine Coolant Temperature Sensor
Defective Valve Body
Dirty transmission fluid that restricts the hydraulic passages

You only say you checked the solenoids… A bad engine coolant temp sensor is listed as a cause on all 3 codes. I’d replace it just as a matter of maintenance on a 20 year old car. They are cheap and much easier to replace than a defective valve body which is also listed for all 3 codes. Good Luck!