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