chandrup23
New Member
- Joined
- Feb 26, 2018
- Messages
- 1
Hi, I am new to excel VBA.
I am trying to write a code to copy a range of text from One text file to another .
For instance : I have a textfile 1 with data
some data ...
< startaction>
some data ...
< \ startaction>
some data...
Textfile 2
some data ...
< startaction>
empty
< \ startaction>
some data...
I have to copy lines from < startaction> to < \ startaction> and paste the same in the textfile2 inside same < startaction> to < \ startaction> .
I am clueless to write a code for this . Can you please help me with this proces
Thanks for your valuable advices.
I am trying to write a code to copy a range of text from One text file to another .
For instance : I have a textfile 1 with data
some data ...
< startaction>
some data ...
< \ startaction>
some data...
Textfile 2
some data ...
< startaction>
empty
< \ startaction>
some data...
I have to copy lines from < startaction> to < \ startaction> and paste the same in the textfile2 inside same < startaction> to < \ startaction> .
I am clueless to write a code for this . Can you please help me with this proces
Thanks for your valuable advices.