添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

A Sub or Function must be defined in order to be called. Possible causes of this error include:

  • Misspelling the procedure name.

  • Trying to call a procedure from another project without explicitly adding a reference to that project in the References dialog box.

  • Specifying a procedure that is not visible to the calling procedure.

  • Declaring a Windows dynamic-link library (DLL) routine or Macintosh code-resource routine that is not in the specified library or code resource.

    To correct this error

  • Make sure that the procedure name is spelled correctly.

  • Find the name of the project containing the procedure you want to call in the References dialog box. If it does not appear, click the Browse button to search for it. Select the check box to the left of the project name, and then click OK .

  • Check the name of the routine.

    See also

  • Error Types
  • Managing references in a project
  • Sub Statement
  • Function Statement
  •