I'm trying to make a sheet auto refresh data every 10 seconds. I'm trying some test code just to figure out what I'm doing and I can't even get it to work.
It waits the 5 seconds as it should but it won't run the sub. I get the error "Can't find project or library".![]()
Sub Test() Application.OnTime Now() + TimeValue("00:00:05"), "Demo" End Sub Sub Demo() MsgBox "The date and time are " & Now End Sub
Any ideas?
Bookmarks