[quote=232071:@Tim Hare]You’re using Ubound incorrectly. The second parameter is which dimension to get the bounds for. Your array only has 2 dimensions, not 3.
Ubound(MatrizCFDI, 1) = number of rows
Ubound(MatrizCFDI, 2) = number of columns
Since you appear to want z to iterate over rows, your code should be
For z As Integer = 1 to Ubound(MatrizCFDI, 1)
Msgbox MatrizCFDI(z, 3)
Next
As an aside, did you intend to skip MatrizCFDI(0, 3)?[/quote]
But I Write it without problems:
[b]
CountLink As Integer = 478
ReDim MatrizCFDI(Countlink, 3)
For i as Integer =1 to countLink -1
MatrizCFDI(i,3) = Replace(Replace(NthField(NthField(SourceCFDi,filtro, i+1), ";""", 1),"return AccionCfdi('","https://portalcfdi.facturaelectronica.sat.gob.mx/"),"','Recuperacion')","")
Next[/b]
But I decided to write at 3th column.
Because I need to write the "Download LINKS Info " in Column 3
In Column 2 -> “Name of the File”
In Column 1 -> “Name of The Company Emitter”
In Column 0 -> “Date of the Document”
But Now I have values written on 3th Column I Wanna consult it.
Thanks