how do i save multiple textbox text into a .dat file? 
Author Message
 how do i save multiple textbox text into a .dat file?

how do i save multiple textbox text into a .dat file?

Clarence

mail me if possible



Fri, 03 Aug 2001 03:00:00 GMT  
 how do i save multiple textbox text into a .dat file?
Below is the general code to place output into a file:

    Dim intFNum As Integer

    intFNum = FreeFile

    Open App.Path & "\TextFile.dat" For Output As #intFNum

    Print #intFNum, Text1.text

    Close #intFNum

The line, "Print #intFNum......" can end with or without a semicolon(;). Do
try it out and see which type of output you are looking for.

Hope this helps...

Regards,
Angus Ching

Quote:
>how do i save multiple textbox text into a .dat file?

>Clarence

>mail me if possible



Fri, 03 Aug 2001 03:00:00 GMT  
 how do i save multiple textbox text into a .dat file?
Hi Clarence,

try,

Private Sub Save_Click()
Dim FName = "name.dat"

Open FName For Output As #1
Print #1, UserForm.Text2.Text
Close #1

End Sub

Goodluck


Quote:
>how do i save multiple textbox text into a .dat file?

>Clarence

>mail me if possible



Fri, 03 Aug 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Saving multiple textboxes as one file....

2. Help storing text files in one .dat file

3. Saving Textbox Text Info to more than one file

4. saving multiple lines of text to a .txt file

5. Saving information from textboxes to a text file

6. Multiple Text lines with text wrap to fit the textbox size

7. Saving Info to a DAT File

8. Saving .dat files.Is this Possible?

9. Save Text from multiple Text boxses

10. TextBoxes.Text switching ..Can it be done?

11. Save all inbox messages to a text file (or text files) with VBA

12. dat/text file conversion

 

 
Powered by phpBB® Forum Software