Question : In form, how to save the content of textbox into a text file at pre-assigned location.

I don't need browse that file.  And the file will be re-wrriten every time without user confirmation.

Answer : In form, how to save the content of textbox into a text file at pre-assigned location.

Something like this:

    'Create a file
    Open "C:\YourFolder\YourOutPutFile.txt" For Output As #1
    '     ^-------------------^-- This is the OutputFile
    Print #1, Me.txtYourValue
    Close #1

You will obviously have to provide your unique: Drive, Path, Filename and File extension.

Here is a sample

JeffCoachman
Random Solutions  
 
programming4us programming4us