Patrick O'Dea
asked on
Passing 2 string arguments to Function
See function Audit(..) below.
I have just amended this function to accept a second argument (Auditcat).
I then changed my VBA that calls the function to the following;
Audit("a","b")
I get an immediate compile error "Expected :=" WHY?
I have never passed 2 arguments before - it seems to be the second argument that is causing the problem?? Is the syntax in Audit("a","b") wrong ?
If this is not clear I can create a database with an example and attach it.
....
Function Audit(ByRef PrimaryKey, ByRef Auditcat)
On Error GoTo Audit_err
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER