How to call Sub of another Form

mahmudich

Registered User.
Local time
Today, 13:56
Joined
Feb 10, 2003
Messages
73
Hi guys!

It's funny, but I try to call Sub of another Form to do some things on that form, but I keep getting messages "Function of Sub is not defined". Does anyone know how to call Sub or Function of another Form?

Thank you
 
make sure the sub is public
eg. public sub Dothis
not private sub DoThis

then call the sub by
forms![formname].DoThis
 

Users who are viewing this thread

Back
Top Bottom