Can anyone help with this problem? I have a form with a listbox populated with a number of spreadsheet names and want to pass the value selected from the listbox back to a function.
But the problem is that the calling function does not wait for an item to be selected from the list and the form to close, it keeps running.
How do I call a form from a function and then suspend the function from continuing until a selection is made and the form closed?
But the problem is that the calling function does not wait for an item to be selected from the list and the form to close, it keeps running.
How do I call a form from a function and then suspend the function from continuing until a selection is made and the form closed?