ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   XML export form a Excel (https://www.excelbanter.com/excel-programming/417411-xml-export-form-excel.html)

Toni Miletic

XML export form a Excel
 
Dear all,

I use Office 2003 XML Tool Addin for exporting from Excel 2003 sheet fields
to XML file.
I've created XML schema to some fields in my Excel sheet. Then I've created
macro to export those fields in XML file. Everything is working fine for me
except decimal separator. In Excel and on my system I have "," as decimal
separator but after creating XML file I get "." as decimal separator.

Part of the macro code that I used is:
"file$ = "K:\share\" & Cells(4, 3) & "_1_" & year & month & day & ".xml"
ActiveWorkbook.XmlMaps("report_Map").Export URL:= _
file$
"

Do you know how I could force it to use "," as decimal separator also in XML
export.

Thanks in advance for your help!
:o)

Kind regards
Toni


All times are GMT +1. The time now is 12:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com