[blue]Public Sub OOF(bState As Boolean)
Const PR_OOF_STATE = "[URL unfurl="true"]http://schemas.microsoft.com/mapi/proptag/0x661D000B"[/URL]
Application.Session.DefaultStore.PropertyAccessor.SetProperty PR_OOF_STATE, bState
End Sub[/blue]
Called as follows:
[tt]OOF True ' enables out of office
OOF False ' disables out of office[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.