We use photometric observations of solar-type stars, made by the NASA Kepler Mission, to conduct a statistical study of the impact of stellar surface activity on the detectability of solar-like oscillations. We find that the number of stars with detected oscillations fall significantly with increasing levels of activity. The results present strong evidence for the impact of magnetic activity on the properties of near-surface convection in the stars, which appears to inhibit the amplitudes of the stochastically excited, intrinsically damped solar-like oscillations.