Mackeral
Board Regular
- Joined
- Mar 7, 2015
- Messages
- 249
- Office Version
- 365
- Platform
- Windows
I have this code
which calls this function with a line of code in it:
and the definition of Parce_Expression is
When I run this code, I get a compiling error in "Parse_Line" that says "Row_Id" is "ByRef argument Type Mismatch" (no error number given).
There is no definition of "Row_Id" in the program definition, and the code worked an hour ago. I have explictly gone through and put "as String" on all definitions references to "Row_id" and I still get the error.
Any idea what might be going on? This kind of stuff drives me batty when something works and then stops.
Mac
Code:
Row_Id = "0a"
Call Parse_Line(Prog, 0, Line, Orig_Code, Calling, Row_Id)
Code:
Function Parse_Line(Prog, Lvl, Code, Orig_Code, Calling, Row_Id) As Boolean
Flag = Parse_Expression(Prog, Lvl, Code, Orig_Code, Calling, Row_Id)
Code:
Function Parse_Expression(Prog, Lvl, Code, Orig_Code, Calling, Row_Id) As Boolean
There is no definition of "Row_Id" in the program definition, and the code worked an hour ago. I have explictly gone through and put "as String" on all definitions references to "Row_id" and I still get the error.
Any idea what might be going on? This kind of stuff drives me batty when something works and then stops.
Mac