Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I write
Private Function myFunct() As Long .... End Function Sub mySub() I = myFunct() .... End Sub everything is OK. However, suppose I wish to put myFunct() in a separate module. Then it fails because the compiler can't find it. If myFunct() was in a DLL I could use Declare to tell the compiler about it, but that seems to work only for DLLs. How can I get around this? Or, must all functions used in a module be defined in it? TIA Ed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling a function in my SQL-DB from VBA | Excel Discussion (Misc queries) | |||
calling a module | Excel Discussion (Misc queries) | |||
Calling function from a userform | Excel Discussion (Misc queries) | |||
Calling a module function from a class method | Excel Programming | |||
Calling Macros oustide current module | Excel Programming |