Consulting

Results 1 to 8 of 8

Thread: Replace hyphen with non-breaking hyphen

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Mentor clhare's Avatar
    Joined
    Mar 2005
    Posts
    470
    Location

    Replace hyphen with non-breaking hyphen

    I need to replace all hyphens in a presentation with a non-breaking hyphen.

    I know that I can manually insert a non-breaking hyphen by using Alt+0173, but I can't figure out how to do that in a search and replace macro.

    Any help would be greatly appreciated!

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    You shouldn't need a macro just the standard replace item. Copy and paste a non breaking hyphen into the replace with box.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    Yeah... it won't look like anything is pasted in the REPLACE area, but try it. It actually works.
    Office 2010, Windows 7
    goal: to learn the most efficient way

  4. #4
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    Thanks Tom, I should have mentioned that
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  5. #5
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,724
    Location
    You can directly type the Alt+0173 (using the NumPad) in the "Replace With:" box, so you don't need to copy one

    Paul

  6. #6
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    That true. I'm using a laptop with no numeric pad so it's more tricky to use Num Lock to add it so I use insert symbol and copy / paste
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •