M
MaxNEMC
Guest
I wrote a function that I want to have 3 parameters for
Import_Reports(tblName as String, Specs as String, InputDir as String)
When i try to run it, i get:
Compile Error: Expected =
BUT
If i define 2 of the parameters within the function as vars, leaving only one as an argument, it works fine. I can use any one of the 3 alone as an argument and it works, but any more than 1 and i get that compile error...
i'm stumped!
Any help would be greatly appreciated!
Max
Import_Reports(tblName as String, Specs as String, InputDir as String)
When i try to run it, i get:
Compile Error: Expected =
BUT
If i define 2 of the parameters within the function as vars, leaving only one as an argument, it works fine. I can use any one of the 3 alone as an argument and it works, but any more than 1 and i get that compile error...
i'm stumped!
Any help would be greatly appreciated!
Max