Countdown Timer Excel VBA - Code crashed excel

后端 未结 3 389
渐次进展
渐次进展 2021-01-28 14:16

Could someone offer an insight into why this crashes my excel, i cant seem to work it out. Im trying to learn VBA and need some advice.

sub timer()

    dim         


        
3条回答
  •  猫巷女王i
    2021-01-28 14:43

    If it just about count down every second, I guess there is another option to add a Timer functionality to Excel. Try searching for Application.OnTime function in Excel that enables us to have Timer in Excel. Related Article that explains how to add timer in Excel and make a macro run during that scheduled interval.

提交回复
热议问题