View Single Post
 
Old 01-18-2021, 12:46 AM
SMehta SMehta is offline Windows 10 Office 2013
Novice
 
Join Date: Jan 2021
Posts: 29
SMehta is on a distinguished road
Default

Quote:
My bad. I omitted .Range from that line. Code fixed.
Implemented with below
Code:
DocTgt.Range.Characters.Last.Text = .Range.Text
Sir, the Same effect Very Sorry Nothing returned Normally with Demo 1 as per the above changed.
Demo 2 still the same effect.
Will it be possible to see the effect by making the document visible ?
Getting a feel of whats really happening when running the code and effects on document shall clear my doubt

And I really wish to know the blank line nos or poped up msgbox with list of blank line nos. Although you mentioned below.
Quote:
In either case, it is not necessary to know the start/end empty line positions.
Thank you very much for refering the link Finding and replacing characters using wildcards
SMehta
Thread 1 Post:4
Reply With Quote