i would like to know how i can insert an xml information into a Excel cell.i known that i must create a csv file but i can't place information at the right place (row x and column y) a sample would be welcome
var xmlElem=XmlDoc.documentElement;
var iCount=xmlElem.childNodes.length;
var nCount=xmlElem.childNodes.item(1).childNodes.length;
var xValue="";
for(i=1;i<iCount;i++){
for(n=1;n<nCount-1;n++){
xValue=xmlElem.childNodes.item(i).childNodes.item.text;
eSheet.Cells(4+i,1+n).Value=xValue;
}
}
alert("Export completed. Select SaveAs to Save the Excel Sheet."
}
</Script>
...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.