I am working on a reusable Form with a listbox. When called it presents a series of multi-choice options that concatenate the selection back in a single string, and a "Write Back" button on the form passes that string back to the calling macro for placement in a cell.
I've already had help with defining the list data at the point the form is called, which is brilliant. But now I want to refine my selections.
I would like my listbox to contain a summary item explaining the selection, but the data written back should be a full-blown sentence. This would create a paragraph of pre-determined sentences that would be written into a cell within a printable worksheet.
Each data set is currently defined as a Range - for example, one of them is "VideoChecks" and it looks like this:
LISTBOX DISPLAY |
OUTPUT |
Video watched |
I have checked the video carefully. |
No problem |
I found nothing that contravenes my parameters for inclusion. |
Possible problem |
While the video does not contravene our standards, there is some content that may be questionable to some viewers. |
No Action |
We will not be taking any action with this video. |
Action required |
This video will be pulled from the list. |
I would like my Form's ListBox ("lstWhatColumns") to display the First Column, but use the second when building up the "Write Back" message.
Thanks to Forum Guru Kyle123 my form's control currently looks like this:
lstWhatColumns is currently displaying just the first columns from the dataset (as ColumnCount = 1), but I don't know how to use the pick to return the corresponding full sentence that is in column 2.
I have been trawling forums (fora?) trying to find a way to do this, but not seen anything (I can understand to be) relevant, so once again any assistance would be greatly appreciated.
Kind regards
Steve
Bookmarks