Using a class module variable in a userform (Error '424' object required)
问题 I have a class module which hosts a worksheet_change sub, and in that sub a Userform has to pop up. I want to use a number of variables from the class module in the Userform's code. Whatever I do, however, I can't get it to work. I have tried to apply the method from this very lenghty guide, but to no avail. Other threads on SO weren't able to help me. Private cell As Range Public WithEvents m_wb As Workbook Property Get cellr() As Range Set cellr = cell End Property Property Set cellr