![]() |
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,
Anyone know how to add custom properties into Outlook [msg file] from macro? I already try some solution provided but still not able to solve this problem. This are the example code from "http://support.microsoft.com/kb/907985 " Set myProp = myItem.UserProperties.Add("MyPropName", olText) I hope someone can help me on this problem. Thank You. Sorry if someone post this solution before. Regards, MC |
Ads |
#2
|
|||
|
|||
![]()
Hi Mcafe,
Anyone know how to add custom properties into Outlook [msg file] from macro? I already try some solution provided but still not able to solve this problem. This are the example code from "http://support.microsoft.com/kb/907985 " Set myProp = myItem.UserProperties.Add("MyPropName", olText) What exactly is your problem? You do not assign a value, is that intended? myProp.Value = "Hello World" myItem.Save -- SvenC |
#3
|
|||
|
|||
![]()
Do you mean a message in one of the Outlook folders or a standalone MSG
file? -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Mcafe" wrote in message ... Hi, Anyone know how to add custom properties into Outlook [msg file] from macro? I already try some solution provided but still not able to solve this problem. This are the example code from "http://support.microsoft.com/kb/907985 " Set myProp = myItem.UserProperties.Add("MyPropName", olText) I hope someone can help me on this problem. Thank You. Sorry if someone post this solution before. Regards, MC |
#4
|
|||
|
|||
![]()
I already assign the value, the custom properties still blank.
"SvenC" wrote: Hi Mcafe, Anyone know how to add custom properties into Outlook [msg file] from macro? I already try some solution provided but still not able to solve this problem. This are the example code from "http://support.microsoft.com/kb/907985 " Set myProp = myItem.UserProperties.Add("MyPropName", olText) What exactly is your problem? You do not assign a value, is that intended? myProp.Value = "Hello World" myItem.Save -- SvenC |
#5
|
|||
|
|||
![]()
Hi,
is standalone MSG file. "Dmitry Streblechenko" wrote: Do you mean a message in one of the Outlook folders or a standalone MSG file? -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Mcafe" wrote in message ... Hi, Anyone know how to add custom properties into Outlook [msg file] from macro? I already try some solution provided but still not able to solve this problem. This are the example code from "http://support.microsoft.com/kb/907985 " Set myProp = myItem.UserProperties.Add("MyPropName", olText) I hope someone can help me on this problem. Thank You. Sorry if someone post this solution before. Regards, MC |
#6
|
|||
|
|||
![]()
What exactly does not work? If you are using Outlook 2007, use
Namespace.OpenSharedItem to open the MSG file. If you are using and older version of Outlook, you can use plug Redemption (url) below - use rDOSession.GetMessageFromMsgFile; see http://www.dimastr.com/redemption/rdo/rdosession.htm /plug -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Mcafe" wrote in message ... Hi, is standalone MSG file. "Dmitry Streblechenko" wrote: Do you mean a message in one of the Outlook folders or a standalone MSG file? -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Mcafe" wrote in message ... Hi, Anyone know how to add custom properties into Outlook [msg file] from macro? I already try some solution provided but still not able to solve this problem. This are the example code from "http://support.microsoft.com/kb/907985 " Set myProp = myItem.UserProperties.Add("MyPropName", olText) I hope someone can help me on this problem. Thank You. Sorry if someone post this solution before. Regards, MC |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updating Properties on Custom Button from another Custom ButtonsonAction Event | [email protected] | Add-ins for Outlook | 0 | May 30th 08 04:30 AM |
Exchange Custom Properties to Outlook Form | Gareth Williams | Outlook - Using Forms | 1 | July 5th 07 04:30 PM |
Setting custom properties to an outlook folder | Michael Jennings | Outlook and VBA | 3 | March 16th 07 05:50 AM |
Setting custom properties to an outlook folder | Michael Jennings | Outlook - General Queries | 3 | March 15th 07 01:24 PM |
MSG Custom properties on right click custom tab | [email protected] | Add-ins for Outlook | 1 | February 1st 06 06:00 PM |