Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-20-2018, 07:04 PM
macropod's Avatar
macropod macropod is offline Code to find numerical string + space throughout document  & replace them with Comma Windows 7 64bit Code to find numerical string + space throughout document  & replace them with Comma Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The F/R expression I posted would not add a space - it will only preserve whatever space(s) were already there. It's also not a macro; it's just a wildcard Find/Replace.

For an outline of Word's wildcard Find/Replace expressions, see: https://support.office.com/en-us/art...4-7708c6c779b7, especially the discussions concerning wildcards and regular expressions.
See also: https://wordmvp.com/FAQs/General/UsingWildcards.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-21-2018, 04:41 PM
Robert Kay Robert Kay is offline Code to find numerical string + space throughout document  & replace them with Comma Windows 10 Code to find numerical string + space throughout document  & replace them with Comma Office 2016
Novice
Code to find numerical string + space throughout document  & replace them with Comma
 
Join Date: Feb 2018
Location: Australia
Posts: 4
Robert Kay is on a distinguished road
Default Code to find numerical string + space throughout document & replace them with Comma

Paul

Thank you for your response. I have recorded the Find and Replace routine as a macro.

Thanks also for the suggested links - they are much appreciated.

Cheers

Robert Kay
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to find numerical string + space throughout document  & replace them with Comma Find & Replace text in Field Code across multiple documents RPM7 Word VBA 6 05-12-2017 12:58 AM
Code to find numerical string + space throughout document  & replace them with Comma Find and Replace with space cheech1981 Word 3 03-29-2017 02:33 PM
How to do multiple find and replace in string. PRA007 Word VBA 2 01-06-2016 09:10 PM
Code to find numerical string + space throughout document  & replace them with Comma Find and replace a string of text errtu Word 1 01-31-2013 02:09 PM
Code to find numerical string + space throughout document  & replace them with Comma Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:26 PM.


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