So I have a userform with some listboxes, textboxes and frames on it (most of the textboxes are inside of frames). One listbox is populated with claim information and when a claim is selected, a range.find is used to locate the specific claim in a large EDI file. Once the claim is found, the textboxes are populated with various data regarding the claim. I also have a frame.click event set up so that when a person clicks on a specific frame a function is called that causes a message box to pop up with additional info for the claim.
The problem I am running into is that once the frame is clicked and the message box comes up, clicking the listbox with claims on it causes the range.find to return "Nothing" even though it should not. If I were to click the listbox again without bringing up the message box, everything works fine. But when the message box is shown, it causes the range.find to malfunction and I have yet to be able to pinpoint the problem. They do not use same name variables. I had originally used a class module to produce the message box and thought that was the issue but after removing it the problem persists.
Code for finding claim in EDI file
Code in module to show message box
Bookmarks