Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-30-2018, 02:41 PM
macropod's Avatar
macropod macropod is offline Macro to find and replace specific types of spaces Windows 7 64bit Macro to find and replace specific types of spaces Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Quote:
Originally Posted by dita View Post
I assumed that macros may contain interactive content but can see that this is not possible.
They can contain interactive content but, for what you described, that makes such a macro fairly pointless, since it's going to have to pause at each match and wait for user input, just as it would when using Find/Replace.
Quote:
Originally Posted by dita View Post
So, if we discard the interactive element, can we simply create a macro that finds the spaces mentioned in my post?
...
Once the macro finds any of these spaces, I will substitute them with non-breaking spaces, if I consider that they are applicable.
Maybe I'm missing something here - you first asked whether a macro could supply the non-breaking spaces interactively. How is your re-worded requirement any different in that regard?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find and replace specific types of spaces Find and Replace/Insert 'CR', delete leading Spaces wherever a user Clicks in a Word document DavidL Word VBA 7 04-04-2018 12:01 AM
Find and Replace Macro Need djpemberton Word VBA 2 05-04-2016 07:53 PM
Macro to find and replace specific types of spaces Find and replace mutiple spaces between lowercase words only Dave T Word VBA 2 07-16-2015 11:23 PM
Macro to find and replace specific types of spaces Find and Replace Macro amparete13 PowerPoint 3 03-11-2014 05:29 AM
Macro to find and replace specific types of spaces Macro to replace one specific heading style with another ubns Word VBA 44 09-04-2012 08:17 PM

Other Forums: Access Forums

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