我有一个
output_file
0001_1234_abcd_defg_U_2018.08.24-14.50.23.TIF
我使用下面的代码来实现这一点。
tbl.Range(LastRow, "C").Offset(1).Value = Split(output_file, "_")(0)
tbl.Range(LastRow, "D").Offset(1).Value = Split(output_file, "_")(1)
tbl.Range(LastRow, "E").Offset(1).Value = Split(output_file, "_")(2)
tbl.Range(LastRow, "F").Offset(1).Value = Split(output_file, "_")(3)
tbl.Range(LastRow, "G").Offset(1).Value = Split(output_file, "_")(4)
tbl.Range(LastRow, "H").Offset(1).Value = Split(output_file, "_")(5)
输出\u文件
在一个字段中有两个下划线
0001_1234__abcd_defg_U_2018.08.24-14.50.23.TIF
. 上述代码在这种情况下失败。如何处理这种情况。