Quote:
Since you haven't answered the questions I asked in my previous post, I don't propose to waste any more time on this.
|
Sir, A sincere apology.
Quote:
It's still not clear what the rules are for what gets pasted where. Your Sample.txt file has 7 paragraphs, whilst your Sample2.txt file has 15 groups of 5 paragraphs.
|
Sir, Was aiming at Flexibility of copying data between Each blank line after the available list of blank line nos of any Opened defined path text file.
The above Two text files were attached to show the different structure of text file where there are empty lines
Regardless as there are 7 paragraph in Sample.txt and 15 paras in Sample2.txt. Any paragrah or group of any Selected non empty lines in txt file ie after geting the avaialble list of Blank lines should be copied on Plain word Document
one after another (As per the desired selection of Available Blank line Nos).
Rule.1 : Getting list of Empty Blank Line Nos of a Text Files
in Sample.txt file
I would like to get the List of following Blank lines nos
3 7 so data from line 4 to 6 are non-empty
7 10 so data from line 8 to 9 are non-empty
10 14 so data from line 11 to 13 are non-empty
14 17 so data from line 15 to 16 are non-empty
17 20 so data from line 18 to 19 are non-empty
20 23 so data from line 21 to 22 are non-empty
if i select for eg for 1st time blank lines Textbox:FromBlank Line 10 and Textbox:To Blank Line14 then data from lines 11 to 13 get copied into New plain Word document at First line of doc
Then if i select blank lines Textbox:FromBlankLine20 Textbox:ToBlankLine 23 then data of non empty lines 21 to 22 to get copied after lines 11 to 13
Selection of Data should be on desired choice of Avaialble List of Blank line nos
Rule.2 : Presentation Structure
After each Selection which gets copied. i would like to have Empty line beween each copied data into new word doc
Quote:
For your Sample2.txt file, what are the rules for which blocks from get copied and what are the rules for where those blocks get inserted into your Sample.txt file?
|
I never wanted to copy and insert the lines from Sample.txt to Sample2.txt or vice versa
Sir, Anything be Sequentially selected after geting the list of available blank line nos from (at present Defined Sample.Txt )any text files and get copied into plain doc.
Sir and your Demo version showed the First instance of data between the first and next empty line geting copied into new word doc and not on the basis of selecting on the available list of blank Lines which being copied into New Word Doc
SMehta
Thread 1: No: 46342 : Post No16 : TM 9