Call Sub/Function in another Module

craigachan

Registered User.
Local time
Yesterday, 19:02
Joined
Nov 9, 2007
Messages
285
I've looked around the forum a bit but can't quite find my answer. I'm wondering if its possible to call a function/sub that is in another module and without making it public. If so what is the syntax for it?:eek:
 
What is the problem with making it Public?
 
Really no reason, I just wanted to know if it could be done. Perhaps if I have a Private Sub and then copy it to a Public sub, wouldn't this be a duplicate and then cause problems?

Anyways, I just wanted to know if it was possible.
 
Making a routine 'Private' means the routines' scope is only to that module. No other module would be aware of its existence. Therefore no ambiguity. Although if it is a routine that has necessity througout your project why would you not want it to be 'Public' and save yourself the redundancy?
 

Users who are viewing this thread

Back
Top Bottom