S
Susanna
I want to write to the file, I want to replace 1 record with my new variable,
this is the code:
Dim ifileNum As Integer
Dim sFullPath As String
Dim vAdditionsorts As String
vAdditionsorts = "CREDITORID = " & 6
sFullPath = "C:\1.txt"
ifileNum = FreeFile
Open sFullPath For Append As #ifileNum
Print #ifileNum, vAdditionsorts
Close #ifileNum
this is the code:
Dim ifileNum As Integer
Dim sFullPath As String
Dim vAdditionsorts As String
vAdditionsorts = "CREDITORID = " & 6
sFullPath = "C:\1.txt"
ifileNum = FreeFile
Open sFullPath For Append As #ifileNum
Print #ifileNum, vAdditionsorts
Close #ifileNum