What am I doing wrong here, in the end of this script:
invalid.JPG
What am I doing wrong here, in the end of this script:
invalid.JPG
The best part of the work out? The End
Your next element is a label, not the control item. Change it to
Next lngIndexlbl
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
This looks like one of my code sequences. The problem is that there is a line break missing in your code. There should be a line break between lngIndex and lbl_Exit:
Thus
Where did you copy it from as it may need correction there?Next lngIndex lbl_Exit:
Graham Mayor - MS MVP (Word) 2002-2019
Visit my web site for more programming tips and ready made processes
http://www.gmayor.com