Please help me...
I am using CallByName in a module and it won't let me.
Let's say I have a Module1 and I am calling by name the Procedure one...
It says Module1 is not an object or something like that... I cannot give either for parameter a Type defined by user if I use a Form instead of a module...VB Code:
Public Sub Procedure1() MsgBox "Ta-Da!" End Sub Public Sub Procedure2(NameFun as String) CallByName Module1, NameFun, vbMethod End Sub Public Sub Procedure3() Procedure2 "Procedure1" End Sub
Besides the code must be there, in the form, in order to recognize it... Please help me!!!




Rest in Peace, we will take care of the rest of it.
Reply With Quote