A scanning apparatus includes a housing with a flatbed. A loading glass is installed at the scan flatbed for loading a to-be-scanned document. A photoelectric sensing device is disposed in the housing for sensing the light signals corresponding to the to-be-scanned document to generate electric signals. The electric signals are transmitted through a flat cable to a motherboard. When the photoelectric sensing device shifts and the flat cable touches the bottom of the housing, the first adsorptive slice of the flat cable and the second adsorptive slice on the bottom of the housing adsorb each other. Therefore, the rubbing between the flat cable and the loading glass can be avoided and the quality of the scanning images can be improved.