We estimate the connected stable rank of the $C^*$-algebras of continuous functions from spaces to $C^*$-algebras in terms of the spaces and $C^*$-algebras in the images. As a corollary, we obtain a result in the K-theory of $C^*$-algebras.