Adding #IgnoreWarnings: 10, 12 in the Project Attibutes doesn't work. Adding an ignore comment like Private Sub UnusedSub 'ignore works !