Originally Posted by
e97h
WOW! Thanks you!!
Fantastic work .. Thats exactly what I want
Now if I want add new rules, I just need to add rule in rules table + add this lines?
the following lines of code:
refer to the column NUMBER that description and price are in, in the sheet table. the following line of code:
is assigned which ever number of column is relevant at the given time the XML line is being read.
Originally Posted by
e97h
One more point, in the xml file I uploaded, there 4 values for PRICE, and 4 for Description
I don't know why excel didn't detect first PRICE, and detect only 3 value from 4.. would u check?
the code I wrote checks the FIRST XML line where the code < item_price > after any given line where < description > is found. and because of that, only one price for each description is put in the sheet called table. if you want to put ALL of the prices that appear after any given line where < description > is found, the code will need to be changed.
Bookmarks