Need VBA code for find and replace between two files
Hi Paul,
I need the VBA code to find and replace between the two word files.
File 1: have the content like as follows,
<desc>abcv</desc>
<desc>efgh</desc>
<desc>tdvg</desc>
<desc>aere</desc> etc....
File 2: have the tags like <desc></desc> in several places between the texts.
I want to copy the tag with texts from File 1 and replace in to the File 2 vise vara which means find first item in File 2 and replace first item from File 1. So 200 items to be find and copy from File 1 and replace the same 200 items in to the File 2.
Please let me know the code?
Note: The VBscript code is acceptable in Notepad++. So if you provide the VBS it will more helpful.
Thanks
ganesang
|