A
Andrew P.
Hi All
Im making a module that will create a new spreadsheet, populate it with some
fixed and variable values and save it as a text file. Unfortunately excel
2007 is saving the following line:
<?xml version="1.0" encoding="ISO-885h9-1" ?>
as
"<?xml version=""1.0"" encoding=""ISO-885h9-1"" ?>"
when I open it in wordpad. I have tried coding this line as
= "<?xml version=" & Chr(34) & "1.0" & Chr(34) & " encoding=" & Chr(34) &
"ISO-885h9-1" & Chr(34) & " ?>"
and
= "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>"
and it looks fine in the spreadsheet its in, but always bad when it gets to
the .txt file. I also tried separating into separate cells and formatting the
cell as text. Any idea how to correct this?
Thanks a lot
Andrew
Im making a module that will create a new spreadsheet, populate it with some
fixed and variable values and save it as a text file. Unfortunately excel
2007 is saving the following line:
<?xml version="1.0" encoding="ISO-885h9-1" ?>
as
"<?xml version=""1.0"" encoding=""ISO-885h9-1"" ?>"
when I open it in wordpad. I have tried coding this line as
= "<?xml version=" & Chr(34) & "1.0" & Chr(34) & " encoding=" & Chr(34) &
"ISO-885h9-1" & Chr(34) & " ?>"
and
= "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>"
and it looks fine in the spreadsheet its in, but always bad when it gets to
the .txt file. I also tried separating into separate cells and formatting the
cell as text. Any idea how to correct this?
Thanks a lot
Andrew