Pass VBA UserForm Selected Listbox Item Value To ThisOutLookSession Module
Posted on 2014-03-24
In Outlook 2007 I have created a VBA UserForm (UserForm1) on which I have placed a single-column Listbox control (Listbox1). I populate the Listbox conrol with the FullName of each Contact that is present in the Contacts folder. This works without problem.
When I select one of the Contacts in the Listbox located on the VBA UserForm (Listbox1), I need to pass the value for the selected Listbox item to the VBA code running in the ThisOutlookSession module. Is this even possible? If so, what does the code look like?