Thread: [Solved] How to release hard returns?
View Single Post
 
Old 05-04-2023, 08:23 AM
Dr. Rick Dr. Rick is offline Windows 10 Office 2010
Advanced Beginner
 
Join Date: Apr 2023
Location: Coastal N.C.
Posts: 45
Dr. Rick is on a distinguished road
Default

Andrew Lockton
I'm new to the forum and feel over my head. Are you saying that if ".Wrap = wdFindStop" is in the code I was using (which it IS) that using Selection instead of ActiveDocument will cause a problem? It doesn't seem to; i.e., it seems to work perfectly when I go back to using CleanUpPastedText as the name and Selection in place of ActiveDocument.


Your question starting with "If the first replace found..." doesn't make much sense to me, but probably because I really don't understand every line of Macropod's code from #5 above.

Last edited by Dr. Rick; 05-04-2023 at 08:25 AM. Reason: clarity
Reply With Quote