Hey,
this is what I am trying to do
For Index = LBound(k) To UBound(k)
b.Cells(a, 1) = Application.WorksheetFunction.Substitute(b.Cells(a, 1), "k(Index)", "")
Next Index
but the variable K(index) does not work in this formula because of " ". (only show test " k(index) ". How it could still work in this situation? I really appreciate it.
Thanks.
this is what I am trying to do
For Index = LBound(k) To UBound(k)
b.Cells(a, 1) = Application.WorksheetFunction.Substitute(b.Cells(a, 1), "k(Index)", "")
Next Index
but the variable K(index) does not work in this formula because of " ". (only show test " k(index) ". How it could still work in this situation? I really appreciate it.
Thanks.