Parsing excel data ( containing xml ) in VBA -


i have simple excel file containing rows , columns. 1 of column contains rows of data string (xml data)

<employee name="r1" designation="developer">    <skillset language="c#"/> </employee> <employee name="e2" designation="developer">    <skillset language="java"/> </employee> 

i read information in excel file, parse based on particular skillset , put them in same excel workbook in adjacent column. may need provide button click may trigger action.

how approach problem.

should write macro or should write excel addin. excel can either 2003 or earlier/2007/2010.

i can think of writing user defined function read cell data but, how read through columns in vb , how re-use function across different excel-workbooks.

although maybe coming @ late hour, had thesame problem mention. i'm kind of new vba. client wanted database application in access 2003. after persuation, able convince them adapt access 2007. way, it's still not reliable, develop multi-lingual application.

anyway cut story short, able achieve same, after google search , using code found here;

http://www.freevbcode.com/showcode.asp?id=2922

and here

parsing xml in vba

hope find links helpful cheers.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -