Visual Basic Linter keeps changing my code to the wrong method

Occasional Visitor

Hi Everyone,

 

I am on excel 2016 and am developing a vba application (because reasons). I am trying to assign a variant array to a MSForms listbox dynamically. The problem is that the VBE linter keeps changing the method call to the wrong method. Instead of calling 

 

lstBox.List

the linter keeps correcting it to 

lstBox.list

and as a result the compiler falls over. Surely Microsoft should have picked this up?

 

Thanks.

 

 

 

0 Replies