Okay, it might be because I put the new code in the wrong order, but this chunk of code is giving me an invalid call procedure or argument.
Specifically it is the sixth line down of this chunk.
Code:
Set objFile = objFSO.OpenTextFile(sFileName)
Do Until objFile.AtEndOfStream
sContents = objFile.ReadLine
sColName = Left(sContents, 4)
If bDesc = True And sColName <> "End" Then
sDesc = sDesc & Right(sContents, (Len(sContents) - 5))
End If
Select Case sColName
Case "Topi"
sTopic = Right(sContents, (Len(sContents) - 6))
Case "DESC"
bDesc = True
sDesc = Right(sContents, (Len(sContents) - 5))
Case "END"
bEnd = True
bDesc = False
'Other cases?
End Select