An optical apparatus comprising: a first moving lens group configured to be moveable along an optical axis to vary magnification; a second moving lens group configured to be moveable along the optical axis to adjust focusing; a position detection device configured to detect positions of the first and second moving lens groups; a first storage device configured to store cam trajectory information which indicates the position of the second moving lens group and the position of the first moving lens group at plural predetermined settings; a control device configured to control the driving of the first and second moving lens groups; and a second storage device configured to store focus position data related to a distance from a subject in response to a user input; wherein the driving of the first and second moving lens groups are controlled by the control device based on the information stored in the second storage device in response to another user input, a first switch which when operated causes focus position data at a distance from a subject measured to be stored in the second storage device; and a second switch which when operated causes the current focus position to be compared with the stored focus position data stored in the second storage device, and to perform a preset function to shift the focus position if they do not match within a predetermined variance, wherein the information stored in the second storage device is associated with the cam trajectory information stored in the first storage device, wherein the cam trajectory information stored in the first storage device is information consisting of plural cam trajectories each corresponding to a distance from the subject, wherein the information stored in the second storage device includes trajectory identification information for identifying a specific cam trajectory from the plural cam trajectories, and wherein the information stored in the second storage device includes internal division ratios between two cam trajectories, and a trajectory is calculated based on the said two cam trajectories and the internal division ratios. a first moving lens group configured to be moveable along an optical axis to vary magnification; a second moving lens group configured to be moveable along the optical axis to adjust focusing; a position detection device configured to detect positions of the first and second moving lens groups; a first storage device configured to store cam trajectory information which indicates the position of the second moving lens group and the position of the first moving lens group at plural predetermined settings; a control device configured to control the driving of the first and second moving lens groups; and a second storage device configured to store focus position data related to a distance from a subject in response to a user input; wherein the driving of the first and second moving lens groups are controlled by the control device based on the information stored in the second storage device in response to another user input, a first switch which when operated causes focus position data at a distance from a subject measured to be stored in the second storage device; and a second switch which when operated causes the current focus position to be compared with the stored focus position data stored in the second storage device, and to perform a preset function to shift the focus position if they do not match within a predetermined variance, wherein the information stored in the second storage device is associated with the cam trajectory information stored in the first storage device, wherein the cam trajectory information stored in the first storage device is information consisting of plural cam trajectories each corresponding to a distance from the subject, wherein the information stored in the second storage device includes trajectory identification information for identifying a specific cam trajectory from the plural cam trajectories, and wherein the information stored in the second storage device includes internal division ratios between two cam trajectories, and a trajectory is calculated based on the said two cam trajectories and the internal division ratios.