If your module has Option Explicit at the top of the module then the code has 4 critical lines, not 3. Perhaps you neglected to include the variable declaration at the top of the code
Dim bSmtQt As Boolean
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|