G
Guest
I have created the code below with help from a previous post. I have two
additional questions. (1) Is there a way to mark Noaging to False if
currently True and True if currently False and (2) This code only works if
I'm on a mail item. Is there a way to have it work on a task (or other
items) as well.
Any and all help will be greatly appreciated. Thanks.
Sub OnOff()
Dim oMail As MailItem
Set oMail = Application.ActiveExplorer.Selection(1)
oMail.NoAging = True
oMail.Save
End Sub
additional questions. (1) Is there a way to mark Noaging to False if
currently True and True if currently False and (2) This code only works if
I'm on a mail item. Is there a way to have it work on a task (or other
items) as well.
Any and all help will be greatly appreciated. Thanks.
Sub OnOff()
Dim oMail As MailItem
Set oMail = Application.ActiveExplorer.Selection(1)
oMail.NoAging = True
oMail.Save
End Sub