The form in question works as follows:
User will put in a ID number, hit FIND, and then the form will populate with Opportunity Names and Opportunity $Amounts for each match of the ID found from another workbook.
The User then hits POPULATE and the form matches the ID, Name, and $Amount, to the 2nd workbook and copies values from the 2nd workbook and place them in the original workbook that holds the form.
If the $Amount is TEXT in the 2nd workbook, I can get the 3 matches to work and it will copy the values. However, if it is in CURRENCY, as it currently is, it does not see the three values as matching and stops the routine.
I can make the $Amount textbox (textbox3) into currency using this:
and then calling it in the FIND routine before the end sub command.
That formats the texbox in the form as a currency, but then when it tries and matches it still can't seem to recognize and run. Below is the code for the Find procedure, and then the Populate procedure.
I was considering running a looped command that converted the Currency values in the 2nd workbook to TEXT, but would really prefer to leave as is. Does anyone have any ideas to make the code work as it is?
FIND
POPULATE
Bookmarks