![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
Does anybody know if it's possible to identify whether a group is selected in Outlook (e.g. the '- Date: Today' row) using the OOM and if so, the items within that group? As far as I can tell, when a group is selected the Count property on the OOM Selection object just returns zero. Many thanks, Chris |
#2
|
|||
|
|||
![]()
Outlook 2007 has the new CalendarView object, an instance of a View object.
That has various properties such as DisplayedDates that can be used to find out how the calendar is displayed. However, if nothing is selected in the calendar view Explorer.Selection.Count will always be 0. To see what items might be in a view you'd have to get the displayed dates and the displayed starting and ending times (StartField and EndField, both string properties) and then filter the Items collection to see what items fit the display parameters. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Chris" wrote in message oups.com... Hi, Does anybody know if it's possible to identify whether a group is selected in Outlook (e.g. the '- Date: Today' row) using the OOM and if so, the items within that group? As far as I can tell, when a group is selected the Count property on the OOM Selection object just returns zero. Many thanks, Chris |
#3
|
|||
|
|||
![]()
Thanks Ken for the quick response.
I was thinking more of when a user has the 'View-Arrange By-Show In Groups' option selected and is in a mail folder such as Inbox, sorted by sender. Is it possible to tell if the user has a group selected (in this example, the group row would be something like: 'From: Joe Bloggs (3 items)'? Thanks, Chris On 14 Nov, 18:04, "Ken Slovak - [MVP - Outlook]" wrote: Outlook 2007 has the new CalendarView object, an instance of a View object. That has various properties such as DisplayedDates that can be used to find out how the calendar is displayed. However, if nothing is selected in the calendar view Explorer.Selection.Count will always be 0. To see what items might be in a view you'd have to get the displayed dates and the displayed starting and ending times (StartField and EndField, both string properties) and then filter the Items collection to see what items fit the display parameters. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm "Chris" wrote in message oups.com... Hi, Does anybody know if it's possible to identify whether a group is selected in Outlook (e.g. the '- Date: Today' row) using the OOM and if so, the items within that group? As far as I can tell, when a group is selected the Count property on the OOM Selection object just returns zero. Many thanks, Chris- Hide quoted text - - Show quoted text - |
#4
|
|||
|
|||
![]()
No way to do it that I can think of, sorry.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Chris" wrote in message ups.com... Thanks Ken for the quick response. I was thinking more of when a user has the 'View-Arrange By-Show In Groups' option selected and is in a mail folder such as Inbox, sorted by sender. Is it possible to tell if the user has a group selected (in this example, the group row would be something like: 'From: Joe Bloggs (3 items)'? Thanks, Chris |
#5
|
|||
|
|||
![]()
Thanks Ken. Glad I wasn't missing something obvious!
Chris Ken Slovak - [MVP - Outlook] wrote: No way to do it that I can think of, sorry. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Chris" wrote in message ups.com... Thanks Ken for the quick response. I was thinking more of when a user has the 'View-Arrange By-Show In Groups' option selected and is in a mail folder such as Inbox, sorted by sender. Is it possible to tell if the user has a group selected (in this example, the group row would be something like: 'From: Joe Bloggs (3 items)'? Thanks, Chris |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Identifying ANSI or Unicode PST File - Programmatically | [email protected] | Outlook - General Queries | 0 | July 27th 07 07:09 AM |
Outlook and News Groups | Jan Groshan | Outlook - General Queries | 8 | July 23rd 07 02:57 PM |
Identifying components of email message | ed | Outlook and VBA | 4 | May 15th 07 06:41 PM |
Identifying whether there are user properties defined | Dewey | Add-ins for Outlook | 3 | September 22nd 06 12:01 AM |
identifying calendar conflicts | Peter Grono | Outlook - Calandaring | 0 | July 31st 06 12:41 PM |