السلام عليكم أخى جرح- هل هذا طلبك ؟
لقد تم بوضع هذا الكود بعد عمل الكمبوبوكس
Private Sub ComboBox1_Change()
Dim arr As Variant, i As Long
Dim Sh As Worksheet
For Each Sh In Worksheets
If ComboBox1.Value = Sh.Name Then
Sh.Activate
End If
Next
End Sub
Private Sub ComboBox1_Click()
End Sub
Private Sub ComboBox1_GotFocus()
Dim arr As Variant, i As Long
Dim Sh As Worksheet
For Each Sh In Worksheets
If Sh.Name <> "TOC" Then
i = i + 1
ReDim arr(i, 1)
arr(i, 1) = Sh.Name
ComboBox1.AddItem arr(i, 1)
End If
Next
End Sub