Calling a Module?

G

Guest

I have a PUBLIC SUB abc() in a Module.

How can I call that? In my calling program, I cave "call abc", but I get an
error that it expects a variable or procedure, not a module.

What am I doing wrong?

Thanks!
 
D

Douglas J. Steele

What did you name the module where sub abc is? If you named it abc, rename
it: modules can't be named the same as subs or functions.
 
G

Guest

Thanks a million! That was it.

Douglas J. Steele said:
What did you name the module where sub abc is? If you named it abc, rename
it: modules can't be named the same as subs or functions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top