![]() In the Custom View Organizer dialog box, choose Current view settings in the View Name box, and then click the Reset button. In Outlook 2007, please click View > Current View > Define View. Clicking View > Reset View in Outlook 20. After printing the specific category calendar, you can display all the other categories calendars again as the previous view settings as follows.ġ). The filter will be applied to all calendars in Outlook.ģ. Before printing, you need to configure your proper print settings.Ģ. In Outlook 2007, please click File > Print, and click the OK button in the Print dialog box.ġ. Click File > Print > Print to start printing the calendar. ![]() Then you will see the calendar items with specified category is filtered out in the selected Calendar.Ĩ. Then click OK buttons in the following dialog boxes to finish the setting. In the Color Categories box, please check the Category box you want to print only, and then click the OK button.įor example, if you want to print all calendar items marked by Blue Category, please check the box before Blue Category. Then a Color Categories dialog box pops up. In the Filter dialog box, please click the Categories button under More Choices tab. In the Advanced View Settings/ Customize View dialog box, please click the Filter button.ĥ. In Outlook 2007, please click View > Current View > Customize Current View.Ĥ. In Outlook 20, please click View > View Settings. Open the calendar with the specific category you want to print.ģ. Shift to the Calendar view by clicking Calendar in the Navigation Pane.Ģ. Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.For printing calendar by category in Outlook, firstly you need to filter the items by certain category and then print the category item only. StrSenderID = oPA.GetProperty(PR_SENT_REPRESENTING_ENTRYID) Set oPA = myOlSel.Item(x).PropertyAccessor ' then get the address entry to display the sender name. ' For other items, use the property accessor to get sender ID, ' For appointment item, use the Organizer property. ' For mail item, use the SenderName property.ĮlseIf myOlSel.Item(x).Class = OlObjectClass.olAppointment Then If myOlSel.Item(x).Class = OlObjectClass.olMail Then Sub GetSelectedItems()Ĭonst PR_SENT_REPRESENTING_ENTRYID As String = _ It uses the Count property and Item method of the Selection object, returned by the Explorer.Selection property, to display the senders of all messages that are selected in the active explorer. The following Microsoft Visual Basic for Applications (VBA) example displays the sender of each selected item in the active explorer. The Selection collection contains ConversationHeader objects only if you specify olConversationHeaders in the GetSelection method of the Selection object. For example, the Item method can return an AppointmentItem, MailItem, MeetingItem, or TaskItem in the Inbox folder, depending on the value of the Selection.Location property. Remarksĭo not make any assumptions about the Item method return type your code should be able to handle multiple item types or a ConversationHeader object. ![]() Parameters NameĮither the index number of the object, or a value used to match the default property of an object in the collection.Īn Object that represents the specified item or conversation header. ![]() SyntaxĮxpression A variable that represents a ' Selection' object. Returns a Microsoft Outlook item or conversation header from the selection.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |