Hello everyone, hoping you could help me out. Currently I have a line of code in a macro: Application.Wait (Now + TimeValue("00:04:00"))
In this example the application will pause for 4 minutes. I was wondering what I would have to do to randomize that time value, say anywhere from 1 to 10 minutes, for example. I believe it has something to do with defining a random variable, and placing that in the time slot, but I am completely lost on how to do this. Any advice would be of great help.
Thanks!
In this example the application will pause for 4 minutes. I was wondering what I would have to do to randomize that time value, say anywhere from 1 to 10 minutes, for example. I believe it has something to do with defining a random variable, and placing that in the time slot, but I am completely lost on how to do this. Any advice would be of great help.
Thanks!