A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Contacts
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Code error in custom contact form - Outlook 2003



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 4th 07, 10:55 AM posted to microsoft.public.outlook.contacts
[email protected]
external usenet poster
 
Posts: 1
Default Code error in custom contact form - Outlook 2003

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 07:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.