Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2018, 06:27 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Find and replace Windows 10 Find and replace Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 4,036
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default


Even in a macro, two find & replace operations would be required, as far as I can tell. First replace tab characters (^t) with a blank space and then replace paragraph marks (^p) with a blank space. Note that you won't be able to get rid of the very last paragraph mark in a document, because that mark must always be present.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #2  
Old 04-10-2018, 06:37 AM
Urraco Urraco is offline Find and replace Windows 8 Find and replace Office 2016
Advanced Beginner
Find and replace
 
Join Date: Apr 2018
Posts: 30
Urraco is on a distinguished road
Default

Quote:
Originally Posted by Stefan Blom View Post
Even in a macro, two find & replace operations would be required, as far as I can tell. First replace tab characters (^t) with a blank space and then replace paragraph marks (^p) with a blank space. Note that you won't be able to get rid of the very last paragraph mark in a document, because that mark must always be present.
Many thanks
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
In Find and Replace, can Word stop after each Replace? wardw Word 1 06-08-2017 02:47 PM
Find and replace VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File QA_Compliance_Advisor Word VBA 11 09-11-2014 11:51 PM
Find and replace Find what box in Find and replace limits the length of a search term Hoxton118 Word VBA 7 06-10-2014 05:05 AM
Find and replace Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Find and replace Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:09 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