Public Sub LoadXMLAsString()
Dim strFile As String
Dim intFile As Integer
intFile = FreeFile
Open "c:\test.xml" For Input As #intFile
strFile = Input$(LOF(intFile), #intFile) returns LOF
strFile = Replace(strFile, "template_variable", "new_data")
'how do we save this change?
Close #intFile
End Sub
|