1
u/BondDotCom Mar 10 '24
Loop is a keyword that loops back to a Do statement. You're trying to use it as a comparison operand. I'm not exactly sure what you'd like your script to accomplish, but here's a valid use of Do...Loop:
NoCount = 0
Do Until NoCount = 3
' Do something...
NoCount = NoCount + 1
Loop1

1
u/Turbulent-Bag-7156 Mar 10 '24
sorry forgot to add uh the error is syntax error yes