15 views
cboSite.Clear
Dim intFree, x As Integer
x = 1
intFree = FreeFile
Open App.Path & "\tdx.txt" For Input As #intFree
Do Until EOF(intFree)
Input #intFree, mstrName(x), mstrSite(x), mstrAdd(x)
x = x + 1
Loop
Close
For x = 1 To UBound(mstrName)
If mstrName(x) <> "" Then
cboSite.AddItem (Format(x, "00") & " - " & mstrName(x))
End If
Next x
cboSite.ListIndex = 0
ArrPM = Array("+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+")