Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

New Comment on "XLSXWorkbook"

$
0
0
Richard-- I didn't 'match' you to the previous person... thanks for update. I changed the old code for creating an xml string and enhanced it using DOM object (i.e., CREATEOBJECT('MSXML2.DOMDocument')). I use the method createTextNode to create the node object and then use the property xml to retrieve the xml string. I am not sure of just stripping all non-printing lower control characters as I believe most will be ignored; but I think one of these is used for multiple lines in a cell (when pressing ALT-Enter in Excel within the cell text entry). The way I implemented MSXML2.DOMDocument is if not present, then this will fail (caught in a try-catch) and then I revert to old code method. Also, I hesitate to use an external library such as Craig's regex library as this then creates a dependency to an external library. The goal in this class is to be mostly self-contained. Greg

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>