註:以下為小弟套用您的語法來修改,發現好像僅會秀出第一個Sheet的內容而已!
ElseIf UserForm1.ListBox1.ListIndex = 6 And UserForm1.ListBox2.ListIndex = 1 And UserForm1.ListBox3.ListIndex = 1 Then
With UserForm2.ListBox1
.RowSource = "m5:n8"
.ColumnCount = 2
.ColumnWidths = "100"
End With
UserForm2.Show
.....
ElseIf UserForm1.ListBox1.ListIndex = 6 And UserForm1.ListBox2.ListIndex = 1 And UserForm1.ListBox3.ListIndex = 1 Then
With UserForm2.ListBox1
.RowSource = worksheets(strsht).range("m5:n8").address(,,,1)
.ColumnCount = 2
.ColumnWidths = "100"
End With
UserForm2.Show