Re: text files



You don't need this in code.

Dim FileName As String


"Donald" <Donald@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BA961D0B-B57B-4255-9532-FB7F1A4BF6B5@xxxxxxxxxxxxxxxx
> Thanks!
> --
> Donald
>
>
> "George Bashore" wrote:
>
>> Donald try this with something in a textbox and a command button.
>>
>> Private Sub Command1_Click()
>> Dim FF as Integer
>> Dim FileName As String
>> FF = FreeFile
>> Open "c:\test.txt" For Output As #FF
>> Print #FF, Text1.Text
>> Close #FF
>> End Sub
>>
>>
>> "Donald" <Donald@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:8780E26B-5EBD-4AB5-8375-F79210AC9BE4@xxxxxxxxxxxxxxxx
>> >I am trying to write to a text file but i do not know how to. I woluld
>> >like
>> > the code for writing to a text file. My Problem is that I can't get the
>> > program to save to the file.
>> > --
>> > Donald
>>
>>
>>


.