WARNING: This page is about a different car, the 1993 Honda Prelude. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Code 7 Flowchart, Throttle Position Sensor (1 of 2)
Courtesy of AMERICAN HONDA MOTOR CO., INC.
Fig 2: Code 7 Flowchart, Throttle Position Sensor (2 of 2)