Can anyone see why this code is causing access to hang EVERY time I TRY and run it. It doesn't even run at all, just hangs outright.
Code:
i = -1000
Do Until i = 1000
Do Until Bar.Left = 5.529
Bar.Left = Bar.Left + 0.001
Loop
Do Until Bar.Width = 0
Bar.Width = Bar.Width - 0.001
Loop
Bar.Left = 1.005
Bar.Width = 0
Do Until Bar.Width = 1.005
Bar.Width = Bar.Width + 0.001
Loop
i = i + 1
Loop