A voir également:
- L'indice n'appartient pas à la sélection vba
- L'indice n'appartient pas à la sélection - Meilleures réponses
- Vba l'indice n'appartient pas à la sélection - Meilleures réponses
- Erreur d'execution 9, l'indice n'appartient pas à la sélection ✓ - Forum Programmation
- Vba l'indice n'appartient pas a la selection ✓ - Forum VB / VBA
- Variable workbook : l'indice n'appartient pas à la sélection ✓ - Forum Excel
- Indice téléphonique - Guide
- A qui appartient ce numéro - Guide
Dim oFSO As Scripting.FileSystemObject
Dim oTxt As Scripting.TextStream
With oTxt
Dim TestArray() As String
Dim st As String
Dim i As Integer
Dim tRows As Long
Dim tCols As Long
Dim ligne As AcadLine
Set oFSO = New Scripting.FileSystemObject
Set oTxt = oFSO.OpenTextFile(txtDWGname.Text, ForReading)
With oTxt
While Not .AtEndOfStream
st = oTxt.ReadLine
TestArray() = split(st, ";")
Dim TestArrayField As Integer
tRows = .Line
tCols = .Column
For i = 0 To tRows
MsgBox TestArray(i)
Next
Wend
End With
oTxt.Close
End With