I want to create a do untill loop in vba, which will take hours as input and continue with steps in the loop till the until criteria is met. Below the code I have so far
inout = 24 'time in hours.
timenow = Now()
Do Until i = timenow + inout
It does not work..someone has better idea??
Thank you in advance.