What could be more efficient way to Substring ~15.000 rows in excel?

@bp777 - To get last 8 you can use Right Function …see the example below…

image

and use this below code in the invoke code…

dt.AsEnumerable().ToList().ForEach(Sub(row) row("NewColumnName")=Right(row("ExistingColumnName").ToString,8))
1 Like