+ Reply to Thread
Results 1 to 2 of 2

using CALL to call methods mandatory?

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Canada
    Posts
    25

    using CALL to call methods mandatory?

    I've got several classes declared within a module and these classes contain ONLY procedures, no functions.

    For some reason when I attempt to run a procedure from the classes, excel screams:

    {
    Combile error:

    Expected: =
    }

    Seems to me like it thinks one of my procedures is a function? But at the same time, Excel has no problem with the call as long as I use the CALL key word. But whats EVEN MORE STRANGE is that excel excel expects the CALL key word only in front of CERTAIN procedure calls. I can't figure it out! They're all procedures! Some take parameters, some dont, I can't see the logic behind excel's bias!

    Are there some sort of special conditions under which CALL is mandatory?

    Thanks,

    Jerry

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573
    The use of ()'s is usually what causes it or not.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1