Subscribefor /f "skip=1 tokens=1,2,3 delims=," %i in (file.csv) do @echo %k > %i%j.txtfor /? for more information on the for command.
Sub GenerateTextFiles()
For Each Row In Selection.Rows
With Row.Cells
Open .Item(1) & .Item(2) & ".txt" For Output As #1
Print #1, .Item(3).Text
Close #1
End With
Next Row
End Sub
@echo.%k>%i%j.txt
You are not logged in, either login or create an account to post comments
posted by bigmusic at 11:02 PM on May 2, 2007