We prove an extension of T. Takahashi's result on minimal submanifolds in Euclidean spaces and in spheres, and as a corollary obtain support for B. Y. Chen's conjecture which claims that the round spheres are the only compact surfaces of finite type in Euclidean 3-space.