A particle is moving in an external field described by a stationary attractive potential and a time-dependent repulsive potential. It is shown that exact solutions of the time-dependent Schrodinger equation can be found for separable potentials. For a particle initially in a bound state the probability of remaining bound, and its energy spectrum in case it escapes, are calculated.