I've added the line below into a Module and into General Declarations on the Form. I've changed it from Private to Public and always I get the error: "Only Valid in Object Module". This seems like a straightforward error to resolve, but nothing I try makes a difference.
Private WithEvents poSendMail As vbSendMail.clsSendMail
Any help with this would be greatly appreciated.
Private WithEvents poSendMail As vbSendMail.clsSendMail
Any help with this would be greatly appreciated.