In this paper we establish an upper bound for the Krull dimension of a module over a Weyl algebra in terms of a geometrical invariant of its characteristic variety, the involutive dimension. This is followed by some examples which show that this inequality may be strict.