|
-
Sep 4th, 2002, 10:01 AM
#1
Thread Starter
Hyperactive Member
Class Module Function
How do I call a function which is in a class module?
-
Sep 4th, 2002, 10:02 AM
#2
Dim blah As New ClassName
blah.Functionname
-
Sep 4th, 2002, 10:02 AM
#3
Frenzied Member
Be sure you declared it as public and you can call it from your whole app
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Sep 4th, 2002, 10:05 AM
#4
Need-a-life Member
Actually, it's better to dim and create a new instance in separate lines:
VB Code:
Dim blah As ClassName
Set blah = New ClassName
blah.Functionname
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|