Hi @Anonymous,
Could you please share a bit more about the List Box control within your app?
Where do you want to save your data?
I assume that you want to save the selected items within the List box control into a Collection, I have made a test, please take a try with the following workaround:
Set the OnSelect property of the "SaveToCollection" button to following formula:
Clear(SavedData);
ForAll(ListBox1.SelectedItems,Collect(SavedData,MemberEmail))
Note: The ListBox1 represents the List Box control within the my screen.
On your side, you should type following formula:
Clear(SavedData);
ForAll(ListBox1.SelectedItems,Collect(SavedData,ColumnName))
Note: The ColumnName represents the column (Column Value) that you want to save, On your side, it may be "Type of visit".
In addition, you could type the above formula within the OnChange property of the List Box control within your app. Set the OnChange property of the List Box control to following formula:
Clear(SavedData);
ForAll(ListBox1.SelectedItems,Collect(SavedData,ColumnName))
The GIF image as below:
More details about the ForAll function in PowerApps, please check the following article:
ForAll function
Best regards,
Kris