I an reasonably new to VB and am looking to pause or delay an appliaction for a number of seconds. I have come up with this <br>
<br>
Wait = Now<br>
Do Until DateDiff("s", Wait, Now) > 2<br>
Results = DoEvents<br>
Loop<br>
<br>
But this tends to pin my cpu to 100% and give me problems. I would rather it not effect my ability to go over the spreadsheet or the VBE program. <br>
<br>
Any help would really be appreciated.<br>
<br>
<br>
Wait = Now<br>
Do Until DateDiff("s", Wait, Now) > 2<br>
Results = DoEvents<br>
Loop<br>
<br>
But this tends to pin my cpu to 100% and give me problems. I would rather it not effect my ability to go over the spreadsheet or the VBE program. <br>
<br>
Any help would really be appreciated.<br>
<br>