Rubberduck: Member ... was not found on the compile-time interface for type ...

Created on 21 Oct 2017  路  5Comments  路  Source: rubberduck-vba/Rubberduck

Warning: Member 'Value' was not found on the compile-time interface for type 'Control'. - (XLTest163a.xlsm) XLTest.BatchProcs, line 93

ctl.Value = True

Similarly for Control>Accelerator, Label.Tag, Frame.Tag, Worksheet.Name

bug difficulty-02-ducky library-specific resolver up-for-grabs

Most helpful comment

@A9G-Data-Droid with Wayne's API (merged recently) we'll be able to get the resolver to understand the types correctly... and much more easily than without it.

All 5 comments

Possibly see also #3497

That one is kind of a resolver bug: we only see the controls through MSForms.Control - which indeed doesn't have a Value member; we need to somehow figure out a way to see a MSForms.ComboBox as such, with MSForms.Control as its base type.

I'm getting this on a range object:

member 'value' was not found on compile-time interface for type 'range'

Dim updateCell As Range
updateCell.Value = updateCell.Value + somenumbers

@A9G-Data-Droid with Wayne's API (merged recently) we'll be able to get the resolver to understand the types correctly... and much more easily than without it.

Was this page helpful?
0 / 5 - 0 ratings