The magnetic susceptibility and spin-wave resonance is studied by the method of Green’s function based upon the Heisenberg model with the surface magnetic anisotropy. It is proved that the ferromagnetic film which loses translational invariance in one direction has a nonlocal magnetic susceptibility tensor. Applying the method of nonlocal magnetic susceptibility formulation, which results in self-coherence of magnetization in the film, the relation between the surface magnetic anisotropy of film and the modes of spin wave exited by the uniform microwave field is derived, and the expressions of position and intensity of resonance peaks are given. According to the nonzero condition of self-coherence of magnetization in the film, three cases have been shown that the uniform microwave field should be able to excite spin wave: (1) Free surface boundary condition (D=0): Only the uniform mode (K=0) should be excited. (2) Symmetrical surface anisotropy boundary condition: For the strong surface anisotropy (D=J), the nz=1,3,5,... odd modes [k=nzπ/(n+1)] should be excited. For the weak surface anisotropy (D≪J), the nz=(2εn)1/2/π, 2,4,6,... even modes (k=nzπ/n) should be excited. (3) Asymmetrical surface anisotropy boundary condition: In general, all the modes should be excited. There is no k=0 spin wave in both cases (3) and (2).