Table of contents
TOC
Collapse the table of content
Expand the table of content

Expected Sub, Function, or Property

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

The syntax of your statement indicates a Sub, Function, or Property procedure invocation. This error has the following cause and solution:

  • The specified name isn't that of a Sub, Function, or Property procedure inscope in this part of your program.

    Check the spelling of the name. Note that if the procedure is defined as Private, it can only be called from within itsmodule.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft