I used vbcrlf so it knows to go to the next line but every time i test it it tells me the error is on the first line of the script but the problem is the multiple lines. How do i make it create multiple lines correctly?
Code: Select all
Private Sub create_Click()
Dim intMsg As String
Dim StudentName As String
Open "d:\0000\XML\assault rifle.coll.xml" For Output As #1
Text = txtfile.Text
Print #1, "<?xml version="""; 1#; """?>" + txtfile
vbCrLf "<!--Halo Map Tools: Metadata Structure File-->"
vbCrLf "blah blah blah"
Close #1
intMsg = MsgBox("assault rifle.coll.xml closed")
End Sub
EDIT: I think i might have just gotten it? before the vbcrlf i added
Code: Select all
output# 1 + ...