[RESOLVED] generate text file
how to generate text file from the range that i define. can anybody gave me the code,pls
x= 2.9 to 2.95
y=101.75 to 101.8
in the text file,it arrange like this
x y
2.90 101.75
2.91 101.76
it's that any problem with this code? i hav try this code but does not work.
Code:
Dim x As Single
Dim y As Single
Open "D:\data.txt" For Output As #1
For x = 2.9 To 2.95
For y = 101.75 To 101.8
y = y + 0.0001
y = y
Print #1, x & " " & y & ";" & "60"
Next y
x = x + 0.0001
x = x
Next x
thanks...