Ok that makes sense. Took me a while to understand how VBA knew Cnt = 0 to start, but I guess it's implied?
This line:
I can tell it's being used to say if the report is found, stop looping. But not quite clear on how that works. I thought Len would result in the length of the string of the file path to sOpenLastReport. But now I'm thinking maybe zero is being used as a "False" value. If that's the case, I have no idea how length of a string would make any sense. Hope you can explain this final step!
Thanks!
Bookmarks