24-05-18 09:19 PM
25-05-18 08:12 PM
02-09-20 11:54 PM
Dim matrix = New Integer(6, 1) {{1, 1}, {2, 1}, {3, 9}, {4, 1}, {5, 1}, {6, 1}, {7, 1}}FieldInfo:=matrixDim wb, ws As ObjectDim excel, sheet, range As ObjectDim matrix = New Integer(6, 1) {{1, 1}, {2, 1}, {3, 9}, {4, 1}, {5, 1}, {6, 1}, {7, 1}}Trywb = GetWorkbook(Handle, Workbook)ws = GetWorksheet(Handle, Workbook, Worksheet)wb.Activate()ws.Activate()excel = ws.Applicationexcel.Selection.TextToColumns (Destination:=excel.Range(Cell_Reference), DataType:=1, _TextQualifier:=-4142, ConsecutiveDelimiter:=False, Tab:=False, _Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar _ :=Delimiter, FieldInfo:=matrix, TrailingMinusNumbers:=True)Success = TrueCatch e As ExceptionSuccess = FalseMessage = e.MessageFinallywb = Nothingws = Nothingexcel = Nothingsheet = Nothingrange = NothingEnd Try03-09-20 02:13 PM