Hi - i'm using the code below to show open workbooks which the user can then select one. How do I update the code to allow the user to select multiple workbooks and how do I name them?
Code in a Module
Code in Form
Code in a Module
Code:
Dim WB As Workbook
For Each WB In Workbooks
UserForm5.ListBox1.AddItem WB.Name
Next WB
UserForm1.Show
Code in Form
Code:
Private Sub ListBox1_AfterUpdate()
listchoice = ListBox1.Text
End Sub