I iancasey Member Licensed User Longtime User Apr 23, 2012 #1 Adding code modules don't seem to work here, I tried to add some generic functions Left() Right() Len() Parse() and others that I use alot into a code module. I get errors until I move those functions back to the Main code block. "Error description: Undeclared variable 'len' is used before it was assigned any value." I guess I am missing something basic here. Ian
Adding code modules don't seem to work here, I tried to add some generic functions Left() Right() Len() Parse() and others that I use alot into a code module. I get errors until I move those functions back to the Main code block. "Error description: Undeclared variable 'len' is used before it was assigned any value." I guess I am missing something basic here. Ian
NJDude Expert Licensed User Longtime User Apr 23, 2012 #2 You will have to prefix those with the name of the module you put them on, for example, assuming you put them in a module name: "MyFuncs" you should then do: Code: Copy MyFuncs.Left(...) Upvote 0
You will have to prefix those with the name of the module you put them on, for example, assuming you put them in a module name: "MyFuncs" you should then do: Code: Copy MyFuncs.Left(...)