![]() |
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
|
|||
|
|||
![]()
A praiseworty MVP "Ken Slovak" sure did present me with an special idea in
respect of changing the layout of a contact card with the following code: Public Sub ConvertToDesiredBusinessCard() Dim obj As Object Dim oFolder As Outlook.MAPIFolder Dim oContact As Outlook.ContactItem Dim oModel As Outlook.ContactItem Dim colItems As Outlook.Items Dim i As Long Dim lCount As Long Dim sXML As String Set oFolder = Application.Session.GetDefaultFolder(olFolderConta cts) Set colItems = oFolder.Items Set oModel = Application.ActiveExplorer.Selection.Item(1) sXML = oModel.BusinessCardLayoutXml lCount = colItems.Count For i = 1 To lCount Set obj = colitems.Item(i) If (obj.Class = olContact) Then Set oContact = obj oContact.BusinessCardLayoutXml = sXML oContact.Save End If Next End Sub However, any idea: 1. How to view the XML schemas of a default and a special card, so as to compare the both? & 2. How to set a special background like C:\xyz.jpg for all the EBCs? -- Best Regards, FARAZ A. QURESHI |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Appointments shown in Active appointment View but not in Day/Week/Month View | udaymg@gmail.com | Outlook - Calandaring | 3 | March 6th 07 09:27 PM |
Outlook difficulties: Unable to switch to calendar view (does not refresh right hand side view) | Sid B | Outlook - Calandaring | 2 | November 12th 06 06:09 AM |
Filter/Schema to use for AdvancedSearch of Drap/Drop Files | EricTempPA | Outlook and VBA | 0 | June 29th 06 09:24 PM |
Icon in Outlook contacts view (address cards view) | weseral | Outlook - Using Forms | 1 | March 9th 06 06:02 PM |
View free/busy not consisten in folder/schedule view & Exclusive l | Toà n | Outlook - Calandaring | 0 | February 9th 06 02:20 PM |