Excel VBA Application.OnTime. I think its a bad idea to use this… thoughts either way?

后端 未结 2 616
醉话见心
醉话见心 2021-01-14 06:26

I have a number of users I support that are asking for things to happen automatically ( well more automagically but that\'s another point!).

One want events to happe

2条回答
  •  甜味超标
    2021-01-14 06:53

    You're right. an "infinite" interval of "onTime" calling itself, creates an infinite recursion.

    It will cause a stack overflow after few thousand/million/billion function calls, and it will "leak" memory.

提交回复
热议问题