This is my statement:
If (MsgBox("Are you sure?", vbYesNo) = vbYes) Then
dlgSave.Filter = "Text Files(*.txt)|*.txt|All Files(*.*)|*.*"
dlgSave.DialogTitle = "Select Your File?"
dlgSave.FileName = ""
dlgSave.ShowSave
dlgSave.InitDir = App.Path
intFileNum = FreeFile
Open dlgSave.FileName For Output As #intFileNum
I = 1
For I = LBound(MyArray) To UBound(MyArray)
ReDim Preserve MyArray(I)
Print #intFileNum, MyArray(I).A, MyArray(I).B, MyArray(I).C, MyArray(I).D, MyArray(I).E, MyArray(I).F
Next I
Close #intFileNum
End If
i run the program and choose the output file that iwant. After i choose the file i go and open it to see the output and it is just a line of 0's. Why is this?
thanks
If (MsgBox("Are you sure?", vbYesNo) = vbYes) Then
dlgSave.Filter = "Text Files(*.txt)|*.txt|All Files(*.*)|*.*"
dlgSave.DialogTitle = "Select Your File?"
dlgSave.FileName = ""
dlgSave.ShowSave
dlgSave.InitDir = App.Path
intFileNum = FreeFile
Open dlgSave.FileName For Output As #intFileNum
I = 1
For I = LBound(MyArray) To UBound(MyArray)
ReDim Preserve MyArray(I)
Print #intFileNum, MyArray(I).A, MyArray(I).B, MyArray(I).C, MyArray(I).D, MyArray(I).E, MyArray(I).F
Next I
Close #intFileNum
End If
i run the program and choose the output file that iwant. After i choose the file i go and open it to see the output and it is just a line of 0's. Why is this?
thanks
