ObsoleteCallStatementInspection - tommy9/Rubberduck GitHub Wiki
Description: Use of obsolete Call statement
Type: CodeInspectionType.LanguageOpportunities
Default severity: CodeInspectionSeverity.Warning
This inspection finds procedure calls made using the obsolete Call keyword.
Example:
Call to procedure DoSomething is using an obsolete language syntax:
Call DoSomething(42)
The Call keyword exists in modern-day VBA only for backward compatibility. New code shouldn't be using this keyword.
QuickFixes
QuickFix: Remove obsolete statement
DoSomething 42
The quickfix removes the Call keyword and parentheses around the list of arguments.