The three James Bond movies set in space before the first real launch of the space shuttle were:
You Only Live Twice (1967)
Diamonds Are Forever (1971)
Moonraker (1979)
Actually, only 2 of the films portrayed manned missions. "Diamonds Are Forever" involved an unmanned space-based deathray weapon with which Blofeld planned to destroy Washington, DC.