Dim fDate As Date
With ActiveSheet.Range("a1:a5000")
fDate = "01.01.2000"
Do Until fDate = Date
Set FoundValue = .Find(fDate, LookIn:=xlValues)
If Not FoundValue Is Nothing Then
msg = msg & fDate & vbCrLf
End If
fDate = fDate + 1
Loop
End With
MsgBox msg
msg = msg & fDate & vbCrLf
ComboBox1.AddItem CStr(fDate)
For i = 0 To ComboBox1.ListCount - 1
If ComboBox1.List(i) = "......" Then MsgBox ""
Next
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6