Click Event in Class Module Not Firing

后端 未结 2 1010
遥遥无期
遥遥无期 2020-12-20 02:56

I have a user form that displays line-by-line validation errors (in text box) that I want to supplement with user form labels that act as hyperlinks that users can click to

2条回答
  •  余生分开走
    2020-12-20 03:47

    Another approach that worked:

    Placing Private pLabels As Collection atop the module where PlaceLinkLabel is stored

    and using

    If pLabels Is Nothing Then Set pLabels = New Collection
    pLabels.Add clsLabel
    

    at the end of PlaceLinkLabel module

提交回复
热议问题