I'm back with another question in VBA.
Here's the (updated) file I'm working on. When I try to run it, it says
Run-time error '92': For loop not initialized
.
The loop is For Each var In accepted
and I have already defined var
and accepted
as follows:
Dim accepted() As Variant
Dim var As Variant
...
For Each var In accepted
...
Next var
I'm not sure why this error is occurring.