![]() |
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 been working on producing a custom contact form for our company in Outlook 2003. This adapts some code that I got from: http://www.outlookcode.com/d/forms/r...tm#setup#setup I am trying to adapt the code from the above site to retrieve a string with the current Master Category list from the registry instead of hard coding the string as in the example. I have added a function to return the Master Category list, but when I then publish and open the form, I am getting an error 'Expected end of statement Line no 104' I have included the snippet of code that Line 104 falls within: Public Function GetMCL() As String ' Function returns a semicolon-delimited string that is the Master Category List. Use the VBA ' function Split() to break up the list into individual category items LINE 104 Dim arrVersion As Variant, _ objShell As Object, _ arrTemp As Variant, _ intCounter As Integer, _ strBuffer As String I have recreated the code in an Access VBA module and there is no problem. I also can't work out how to run Outlook code through a debugger which doesn't help!!!! Can anyone suggest what is causing this error? Regards, Adele Summers |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom contact form in Outlook 2003 | lbb4ever | Outlook - Using Contacts | 1 | April 3rd 07 06:03 PM |
Outlook 2003 custom contact form save and distribute | Dealmasters | Outlook - Using Forms | 3 | February 6th 07 07:36 PM |
Custom contact form error | Cris Stout | Outlook - Using Contacts | 0 | September 28th 06 10:48 PM |
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 | David Webb | Outlook and VBA | 1 | June 20th 06 09:59 PM |
Duplicate Contact Detection Outlook 2003 Custom Form | [email protected] | Outlook - Using Contacts | 1 | March 20th 06 03:02 PM |