But ok, here is an example.
Dim lVariableOne As Long
Dim sVariableTwo As String
lVariableOne = 12345
sVariableTwo = "Blah"
Dim lFileNum As Long
Dim sFileName As String
lFileNum = FreeFile
sFileName = "C:\FileToSaveTo.txt"
Open sFileName For Output As #lFileNum
Print #lFileNum, lVariableOne
Print #lFileNum, sVariableTwo
Close #lFileNum