>>Thanks<No problem.
~~Bonnie
>>Are you trying to make your function static or whatever it's called in VB ... and if so, you haven't done that, so you need to instantiate your class first. Plus, you've mad the AddSpeaker() method private, so there's no way you're gonna be able to access it. It needs to be public.
>
>I changed it to Public, add this at the top:
>
>
> Dim loSpeaker As MFUG._Function
>
>
>and change the line to:
>
>
> ' Speaker 1
> lcHtml = lcHtml + loSpeaker.AddSpeaker(lnSpeaker1, _
> loData.Tables("Temp").Rows(lnCompteur)("SpeakerPicture1"), _
> loData.Tables("Temp").Rows(lnCompteur)("Speaker1"), _
> loData.Tables("Temp").Rows(lnCompteur)("SpeakerBio1"))
>
>
>and that works great.
>
>Thanks