H
Hollenbeck, Christopher J.
Is it possible to test whether a user has their Out of Office assistant
on? Reason I ask is that I want to develop a tracking
"macro"/subroutine that can be called when assigning custom tasks to
users where I can test whether the person is "out of the office" and
prompt the current user on whether or not to assign the task to that
person. Is this possible? I have only seen the ability to test my
personal Out of Office settings using the session object after creating
a CDO session (the property is OutofOffice), looks something like:
Set objSession = ,,False,False
objSession.Logon
MsgBox objSession.OutOfOffice 'returns True if Out of Office Assistant
is turned on
I understand the reasoning why it returns mine, since I don't provide
another profile to log the session into, but even providing a different
mailbox name didn't seem to work either...
Just curious if someone had a solution already out there...
Thanks,
Chris
on? Reason I ask is that I want to develop a tracking
"macro"/subroutine that can be called when assigning custom tasks to
users where I can test whether the person is "out of the office" and
prompt the current user on whether or not to assign the task to that
person. Is this possible? I have only seen the ability to test my
personal Out of Office settings using the session object after creating
a CDO session (the property is OutofOffice), looks something like:
Set objSession = ,,False,False
objSession.Logon
MsgBox objSession.OutOfOffice 'returns True if Out of Office Assistant
is turned on
I understand the reasoning why it returns mine, since I don't provide
another profile to log the session into, but even providing a different
mailbox name didn't seem to work either...
Just curious if someone had a solution already out there...
Thanks,
Chris