[en] We derive a stochastic representation formula for solutions of heat-type equations on vector bundles with time-dependent Riemannian metric over manifolds whose Riemannian metric is time-dependent as well. As a corollary we obtain a vanishing theorem for bounded ancient solutions under a curvature condition. Our results apply in particular to the case of differential forms.