This is what my non-functioning rewrite is looking like so far. Firstloop is a Boolean set to true at the top of the macro in my attempt to not open and reread the file for every account number it tries to compare. I have also tried the following loop without success.
This is my revised call to the function.
Current issues:
Firstloop seems to empty when I call the function
Type mismatch error on the line: Do Until i = UBound(FlaggedAccts) and/or For i = 1 To UBound(FlaggedAccts)
I know I will need to split the FlaggedAccts array as it will contain the string "1234, Reason" when it's working but I'm still not getting the framework to behave as expected.
I have little to no idea what I'm doing.
Bookmarks