D
Dan
Hi,
Still on my quest to time certain things in Outlook.
I'm now trying to get the time it takes to go from displaying the Inbox to
displaying the calendar.
I have this code here but unfortunately it opens another instance of
Outlook, instead of causing the current instance (which I have opened
earlier on in my code) to display the calendar.
MyStartTime = Now
Set objFolderCalendar = objNamespace.GetDefaultFolder(olFolderCalendar)
Set expCalendar = objFolderCalendar.GetExplorer
expCalendar.Activate
TimeToDisplayCalendar = DateDiff("s",MystartTime,Now)
Is this another case of you can't manipulate the GUI through code?
Thanks,
Dan
Still on my quest to time certain things in Outlook.
I'm now trying to get the time it takes to go from displaying the Inbox to
displaying the calendar.
I have this code here but unfortunately it opens another instance of
Outlook, instead of causing the current instance (which I have opened
earlier on in my code) to display the calendar.
MyStartTime = Now
Set objFolderCalendar = objNamespace.GetDefaultFolder(olFolderCalendar)
Set expCalendar = objFolderCalendar.GetExplorer
expCalendar.Activate
TimeToDisplayCalendar = DateDiff("s",MystartTime,Now)
Is this another case of you can't manipulate the GUI through code?
Thanks,
Dan