Doing the opposite is as simple as changing '= 2' to '> 2'
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab. Please also preview your posts when doing so - the code you posted had no structure at all, all being output as an ordinary string.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|