S
Seth Schwarm
I am attempting to to run a module written in one form
from a second, different form.
Here is my general example:
Form1
Form2
Public Sub HelloWorld() (a module of Form1 which is
simply a message box saying "Hello World" as a test)
In Form2 code I type:
Call Forms.Form1.HelloWorld
I get Run-time error 438. Object doesn't support this
property or method.
The crazy thing is that have used this method of calling
much more complex procedures in other applications I have
written, and they work great. I even went to these
applications and ran the code which makes these Call
statements and the code worked flawlessly.
All help is appreciated,
Seth
from a second, different form.
Here is my general example:
Form1
Form2
Public Sub HelloWorld() (a module of Form1 which is
simply a message box saying "Hello World" as a test)
In Form2 code I type:
Call Forms.Form1.HelloWorld
I get Run-time error 438. Object doesn't support this
property or method.
The crazy thing is that have used this method of calling
much more complex procedures in other applications I have
written, and they work great. I even went to these
applications and ran the code which makes these Call
statements and the code worked flawlessly.
All help is appreciated,
Seth