S
Sri via OfficeKB.com
Hello all,
I have few thousands of XML messages which I need to convert according to new
specs. This means,
Rule 1: I should insert a line with text "xxxxx" immediately after I see a
line with text "aaaaa".
Rule 2: I shoud delete all lines with test "yyyy".
Rule 3: I should replace "pppp" with "qqqq" etc..etc...
I am planing to write a small VB macro in XL to which I give my XML folder as
input. This macro should read each file and apply few rules as mentioned
above and save the file. Any help in this regard please... how to achieve
rule 1, rule 2 and rule 3.
I am only aware of WriteLine method with which we can only APPEND the line.
Sri
I have few thousands of XML messages which I need to convert according to new
specs. This means,
Rule 1: I should insert a line with text "xxxxx" immediately after I see a
line with text "aaaaa".
Rule 2: I shoud delete all lines with test "yyyy".
Rule 3: I should replace "pppp" with "qqqq" etc..etc...
I am planing to write a small VB macro in XL to which I give my XML folder as
input. This macro should read each file and apply few rules as mentioned
above and save the file. Any help in this regard please... how to achieve
rule 1, rule 2 and rule 3.
I am only aware of WriteLine method with which we can only APPEND the line.
Sri