Microsoft Excel ActiveX Controls Disabled?

后端 未结 11 2290
死守一世寂寞
死守一世寂寞 2020-11-22 06:43

I have some Excel worksheets that use ActiveX checkboxes to control certain activity. They worked recently but today started to give errors. I was alerted to this by a col

11条回答
  •  -上瘾入骨i
    2020-11-22 07:22

    I want to provide an answer that worked as the only thing for me (I realize that I might be the only one ever). I had in one macro that I was calling using the ribbon. It had the following code:

    colStore = new Collection
    

    I wasn't aware that it throws an error so I was baffled and tried everything in here. The button just stopped working and I couldn't get it to work. When I noticed the error and corrected it to:

    Set colStore = new Collection
    

    It started working again. Absolutely strange if you ask me but maybe it helps someone out there who was as desperate as me.

提交回复
热议问题