Goodmorning,
first time on this forum so bare with me.
I got VBA line that will replace Dots(.) for Comma's (,)
With this code.
Dim a, i As Long
With Range("i2:j" & Range("j" & Rows.Count).End(xlUp).Row)
a = .Value
With CreateObject("VBScript.RegExp")
.Pattern = ".(?=\d{2}$)"
For i = 1 To UBound(a, 1)
a(i, 1) = .Replace(a(i, 1), ",")
Next
End With
.Value = a
End With
The problem is its only take collum I and i want it so that it will take I and J.
am I doing something wrong here that it only take I and not Both ? I and J?
Greets
Bookmarks