nick262b
Mechanical
- Apr 17, 2013
- 25
Hi guys,
So this is driving me insane I have a macro which is exporting to a text file and I need the first line to be:
<ProjectInput xmlns="
I have tried the following codes with the following responses:
As expected
Cells(1, 1).Value = "<ProjectInput xmlns=" & " & ">"
gives
<ProjectInput xmlns=
but when I try to add the ""
Cells(1, 1).Value = "<ProjectInput xmlns=" & Chr(34) & " & Chr(34) & ">"
gives
"<ProjectInput xmlns=""
Cells(1, 1).Value = "<ProjectInput xmlns=" & """ & ">"
gives
"<ProjectInput xmlns=""
What's going wrong? (ps ignore the hyperlinks there not supposed to do that)
Thank you all for your help!
Kind Regards
Nick
So this is driving me insane I have a macro which is exporting to a text file and I need the first line to be:
<ProjectInput xmlns="
I have tried the following codes with the following responses:
As expected
Cells(1, 1).Value = "<ProjectInput xmlns=" & " & ">"
gives
<ProjectInput xmlns=
but when I try to add the ""
Cells(1, 1).Value = "<ProjectInput xmlns=" & Chr(34) & " & Chr(34) & ">"
gives
"<ProjectInput xmlns=""
Cells(1, 1).Value = "<ProjectInput xmlns=" & """ & ">"
gives
"<ProjectInput xmlns=""
What's going wrong? (ps ignore the hyperlinks there not supposed to do that)
Thank you all for your help!
Kind Regards
Nick