![]() |
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,
I have developed the Custom Form with various user defined functions. My requirement is to use the same functions in different custom forms. I could not able to call the functions (Getting an error "object doesn't support this property or method" ). For example, Function GetNewItem() Dim nameSpace, inbox, newItem Set nameSpace = Application.GetNameSpace("MAPI") Set inbox = nameSpace.GetDefaultFolder(6) Set newItem = inbox.Items.Add("IPM.Note.GeneralNavigation") Set GetNewItem = newItem End Function sub cmdimport_click() dim doc dim st set doc=GetNewItem() 'Object created. set st=xmldoc.getusername() 'Getting error here. end sub Please give me the solution on this. I appreciate your help. Thanks, Mani |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Find function | jwb | Outlook - Using Contacts | 1 | December 11th 06 05:32 PM |
Creating Organizational Forms Library & Publish Forms | akafrog18 | Outlook - Using Forms | 1 | August 1st 06 04:26 PM |
Outlook 2003 - Forms Icon On toolbar doesn't list any forms | Kim.in.Denver | Outlook - Using Forms | 8 | July 28th 06 04:35 PM |
OE InBox Does Not Function | Chris B | Outlook Express | 2 | June 23rd 06 02:24 PM |
Email Message Forms in Personal Forms Library | Debbie Hadsel | Outlook - Using Forms | 4 | May 30th 06 06:11 PM |