Item not found in this collection??????

JustMaybe

Registered User.
Local time
Today, 14:49
Joined
Oct 18, 2002
Messages
134
I have a really strange problem. In order to play with some working code, i copied and pasted it into a word document. However when i pasted the old code back, and tried to press the button the code supports i get an error

'item not found in this collection'

has anyone seen anything like this before?
 
I had this problem when using Do Until blah blah, it was doing this because at the last cycle it was going past EOF, by adding On Error Resume Next just after the Do statement, it worked ok.
 

Users who are viewing this thread

Back
Top Bottom