C1011: Procedure already has body

Top  Previous  Next

Description:

This error occurs when attempting to define a procedure twice.

Example:

 

sub x

end sub

 

sub x ' error C1011: 'x' already has body

end sub

 

See Also

Sub Statement
Function Statement