I am trying to write to a text file when I click a command button on a form. When this runs it sends the meesage to the text file but it has inverted commas around it. How can I bet rid of them? Here is the code I am using, can someone make comment.
Private Sub cmdExec_Click()
Dim strroute As String
Dim strFile As String
strroute = "[Mymessage]"
strFile = "[filelocation]"
Open strFile For Append As #1
Write #1, strroute
Close #1
cmdExec.Enabled = False
End Sub



