Macro Fails, 'The macro may not be available in this…'

后端 未结 3 565
小鲜肉
小鲜肉 2021-01-07 05:01

Hello and thank you in advance for your assistance.

I have some code that I admittedly borrowed from a site. It changes the sheet that is being displayed every X

3条回答
  •  被撕碎了的回忆
    2021-01-07 05:02

    Try : (i use this code)

    With Application
        .EnableEvents = True 'needed
        .OnTime EarliestTime:=Now + TimeSerial(0, 0, 3), Procedure:="displaysheets", Schedule:=True
    End With
    

提交回复
热议问题