Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2021, 06:55 AM
SMehta SMehta is offline Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word Windows 10 Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word Office 2013
Novice
Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word
 
Join Date: Jan 2021
Posts: 29
SMehta is on a distinguished road
Default

Thank you very much for your reply Dear Andrew Sir

Quote:
'Lines' is not something you should be looking at - the terminology which makes sense is 'paragraphs'. The number of lines depends on a range of variables such as the window size or font size/paper size. The number of paragraphs is fixed.
Oh Ok. Kindly excuse me i was under the impression that lines would make a paragraph.


I am so sorry. Please bear with me as this is my First Thread.

Quote:
It is not clear what you are looking for. What is it that the code has to do?
Now i am quite clear what i am looking for.
Basically with Sir Paul's code will it be possible to come out with List of Empty Paragraph position in the document . In this case the code was executed to see the (pasted or copied) paragraph was the 1st paragraph of the file Sample.txt
if not mistaken ie it showed the paragraph with text after the 1st Empty Paragraph position and before the 2nd Empty Paragraph position.

Then in this case my question would be "Can i have the List of No(s) of Each position of Empty Paragraphs ? ". If Yes then how do i get list of each position of Empty Paragraph in the document.
As I see the SPACING too plays an important role representing a gap as empty paragraph which is not an Empty Paragraph as per "MS-Word" terminology. Also here the link which indicates the same
Microsoft Word Help, Tips and Tutorials @ The Anchorage

I will be glad if the above is resolved. As this will be one part. And after understanding
the above then i shall be intrested in getting the below solved
Quote:
As per Post #12 of Sir Paul
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?
Quote:
If you want to remove the blank 'paragraphs' then you don't need to know what their numbers are, you just need to remove them. The code Paul supplied previously will do that.
Sir i would not have logged in as a member and niether posted a thread to remove the blank paragrpahs. As there are few forums where it has been resolved as per the Threader's requirement

SMehta
Thread 1: No: 46342 : Post No20 : TM 12
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help to get data from notepad to word ganesang Word VBA 2 08-11-2019 10:21 PM
Word does not stop at the set tab, but it keeps forever on the same line like it would in Notepad. danvina@gmail.com Word 2 01-16-2019 02:33 PM
Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word Microsoft notepad over word for saving important text files Noclip1 Word 1 10-25-2017 10:55 PM
Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word Copy text with tab at start of line and paste to Notepad JohnTurnbull Word 5 08-27-2017 11:17 PM
Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word Sr. Citizen Question, Please: WORD Shows Blank, But Notepad Shows "Gibberish" ? Robert11 Word 3 08-12-2013 12:35 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft