I have an assignment in Visual basic I don't know how to do. I am to create 2 sub routines and 1 function that send values back to main calling program. The main program populates the combobox and displays information in the listbox and that is all.
The first sub takes a selected entry from the combobox which is Name and ID. The sub does the calculation and sends Name, ID, and Calculated Value back to calling program.
My question is how do I send these 3 values back to the main calling program? I am assuming there is no byRef. I apologize in advance if this is not a unique question but I haven't been able to find an answer. Thank you.