I have to replace one character with another in Excel file.
I have used following Replace function, but due to exceeds of 1024 character limit in some cells, it stops there.
Sub Replace()
    With Sheets("Sheet1").Range("A1:A629")   
      .Cells.Replace ",", ";", xlPart, xlByRows, False
    End With
End Sub 
I got to know Substitute function would do
Cells(1, 2) = "=SUBSTITUTE(A1,"","","";"")"
But how do I use that for cell range?
 
     
     
    
