I've defined a collection in my form:
In my delete button I have this:Code:private toDelete as new Collection
TestMeth is a Class Module that has a bunch of Get/Let PropertiesCode:Private sub cmdDelete_Click() Dim TM as new TestMeth TM.X="foo" TM.Y="bar" toDelete.Add(TM) end sub
I get this error when trying to add it to the collection:
Run-time error '438'
Object doesn't support this property or method