Thread: Call a Module
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson[_4_] Jim Thomlinson[_4_] is offline
external usenet poster
 
Posts: 1,119
Default Call a Module

Prefacing a call with the module name is optional when calling a sub or
function in another module but it is ususally a good idea. It also makes the
call easier as intellisense in VB will display all of the public variables,
subs or functions for you when you type the period.

Call module1.myFunction(myArgument)
--
HTH...

Jim Thomlinson


"mb" wrote:

How do I call a module from another module?

Thanks,
mb