
Dim fs As Object, CompiledSub As Object, s As String
Set fs = CreateObject("Scripting.FileSystemObject")
Set CompiledSub = fs.CreateTextFile("C:Documents And SettingsmioDesktopCompiledSub.srt", True)
For i = 2 To (4 * LastSubtitle)
'LastSubtitle è una funzione
'definita in precdenza, naturalmente
s = Range("a" & i).Value & crlf$
CompiledSub.WriteLine s
Next i
|
