vba代码求指教,以下代码怎么错了,求改正。
PrivateSubComboBox1_Click()DimxForx=1ToSheets.Countarr(x)=Sheets(x).NameNextxComboBox...
Private Sub ComboBox1_Click()
Dim x
For x = 1 To Sheets.Count
arr(x) = Sheets(x).Name
Next x
ComboBox1.List = arr
End Sub 展开
Dim x
For x = 1 To Sheets.Count
arr(x) = Sheets(x).Name
Next x
ComboBox1.List = arr
End Sub 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询