I have some code for move text from cell to cell
Dim startIndex As Integer Dim toIndex As Integer Dim f As String Dim g As String For startIndex = 50 To 60
You should be using CStr not Str
CStr
Str
Then no workaround is needed for removing an unncessary space
ie
f = "F" & CStr(toIndex) g = "G" & CStr(startIndex)
From Excel help for Str
When numbers are converted to strings, a leading space is always reserved for the sign of number.