I have a subroutine declared by the following line:
Sup Fliprows (ByVal tp as String, ByVal bot as String)
I have tried to call it with the line:
Fliprows ("ZMeetings", "ZSixSigma")
When I try to enter this line, however, the VB Editor comes back with:
Compile Error:
Expected: =
Try as I might, I have not been able to figure out why VB expects an "=" anywhere in this expression, or even where it thinks one ought to be. I have tried a number of things, such as replacing the constants with variables, but VB still rejects it. The only thing that works is to put "Call " in front. Then VB thinks everything is fine.
While I can do this, I would really like to know why it won't accept the statement without "Call". Everything I've read or done before indicates it ought to.
Sup Fliprows (ByVal tp as String, ByVal bot as String)
I have tried to call it with the line:
Fliprows ("ZMeetings", "ZSixSigma")
When I try to enter this line, however, the VB Editor comes back with:
Compile Error:
Expected: =
Try as I might, I have not been able to figure out why VB expects an "=" anywhere in this expression, or even where it thinks one ought to be. I have tried a number of things, such as replacing the constants with variables, but VB still rejects it. The only thing that works is to put "Call " in front. Then VB thinks everything is fine.
While I can do this, I would really like to know why it won't accept the statement without "Call". Everything I've read or done before indicates it ought to.