View Single Post
 
Old 11-18-2010, 05:17 AM
anil3b2 anil3b2 is offline Windows XP Office 2003
Novice
 
Join Date: May 2010
Posts: 7
anil3b2 is on a distinguished road
Default

Thanks for your reply. is n't it not support with Do while option, since i am trying to apply XML schema in the loop. Like below.

Do While myrange.Find.Execute
msgbox(selection.text)
ActiveDocument.XMLNodes.Add "Pages", "Schema"
Loop

it would be grate that if i get the below thru find and replace.

In a selected para only i need to find Pages and i need to apply xml tag <Page> and then with in the pages the first page should be with <Fp> and another with <Lp>.
Reply With Quote