Const ForReading = 1 Const ForWriting = 2 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("temp.hrc", ForReading) strText = objFile.ReadAll objFile.Close strNewText = strText strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = ""+vbCrLf+""+vbCrLf+""+vbCrLf+"" + vbCrLf + strNewText + vbCrLf+"" Set objFile = objFSO.OpenTextFile("temp.hrc", ForWriting, true) objFile.WriteLine strNewText objFile.Close