S
sam
Hi,
Here is part of the XML file:
<aux>
<prop name="class">Class No.: 2000</prop>
<prop name="major">Major No.: AC</prop>
<aux/>
I want to populate substring info after ':' into corresponding cell in
the table of Word document.
I write the VBA code like this:
Activedocument.Tables(1).Cell(2, 1).Range.Text =
xmlObj.selectSingleNode("//prop[@name='class']").Text
It populates the whole text 'Class No.: 2000' into specific cell.
However, I only want to populate '2000' into that cell. Do you have any
good methods or suggestions to solve this problem? Thank you!!!
Best Regards
Sam
Here is part of the XML file:
<aux>
<prop name="class">Class No.: 2000</prop>
<prop name="major">Major No.: AC</prop>
<aux/>
I want to populate substring info after ':' into corresponding cell in
the table of Word document.
I write the VBA code like this:
Activedocument.Tables(1).Cell(2, 1).Range.Text =
xmlObj.selectSingleNode("//prop[@name='class']").Text
It populates the whole text 'Class No.: 2000' into specific cell.
However, I only want to populate '2000' into that cell. Do you have any
good methods or suggestions to solve this problem? Thank you!!!
Best Regards
Sam