Created
July 24, 2012 14:52
-
-
Save stanwu/3170417 to your computer and use it in GitHub Desktop.
write a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim objFSO | |
Dim objStream | |
Set objFSO = createobject("scripting.filesystemobject") | |
Set objStream = objFSO.CreateTextFile("test.csv", True) | |
for i=1 to 100000 | |
buf="" | |
for j=1 to 10 | |
buf = buf & i & "000" & j & "," | |
next | |
buf=buf & "1" | |
objStream.Writeline buf | |
next | |
msgbox "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment