|
-
Jan 29th, 2025, 03:39 PM
#1
Thread Starter
PowerPoster
Collection Class "For Each" stops working randomly.
This is a done class module. I haven't edited it for a while.
It's a Collection Class (I have two different class modules that are collection classes for different things).
Every once in a while it will give me an error with For Each to the point I just gave up trying to keep it working and use For n = 1 to .Count instead.
I've got all the setting correct - hidden enum, the -4 thing as well.
It works and then it doesn't.
And I have no idea why.
And I'm talking about code that was doing for each just fine suddenly giving me an error when I didn't change anything about any of it.
Is this a common thing or am I screwing it up doing something I don't realize I'm doing?
I could post code but it's just standard For Each.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|