Invalid procedure name
There are restrictions in procedure-naming beyond the rules for naming identifiers. This error has the following cause and solution:
- You attempted to define a procedure, but the name used for the procedure is invalid because the host already uses that identifier for another purpose. For example, if the host application is Microsoft Excel, you can't define a procedure with the name
because that identifier is already used by Microsoft Excel.R1C1Choose another name for the procedure.
- Your procedure name is that of a restricted keyword, exceeds 255 characters, or doesn't begin with a letter.
Choose a different name for the procedure.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).