-
Matt
Two other items which I've spent hours trying to solve.
1) On closing an e-mail after the Form has finished I want the possibility of Moving the e-mail to a seperate Folder in Outlook so it moves off the server onto the computer or a separate archive. I thought of putting it in the ClassModule
[VBA]Private Sub oMailItem_Close(Cancel As Boolean)
'Event gets triggered if an e-mail is Closed!
Call Form
'''''''Put Code here something like '''
' oMailItem.move.Folders("MailFile") 'where MailFile is a Folder under personal folders
Set oMailItem = Nothing
End Sub[/VBA]
I know this doesn't work, and have been wondering if it can go here as the e-mail hasn't closed until the end. I'm puting a checkbox in the form so the code will be activated if it is ticked.
2)Currently the Form is activated when the send button is clicked. this is called from the clsCloseEvent Class Module. I want to put code in here to stop it working if the sent button has been clicked. I then want to activate it only if the e-mail reaches the Sent Items box as send may fail.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules