Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Aug 2015
    Posts
    98
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Find bold words and replace with quotes and tab in Word 2010

    I'm trying to find the solution to update definitions in my document. At the moment I have to go to each individual one, insert quotes and a tab, then convert text to table. The definition phrases are bold but I need to change this to bold within bold quotes and instead of a space after this phrase I want to insert a tab. In Find and Replace, Find: (*)[space](*) [set to bold] and in Replace: "\1\2"^t [set to bold and use wildcards]. Unfortunately, this only converts one bold word it does not pick up a whole multi-word phrase. Hopefully I have attached an example of what I am referring to successfully. Is there a way to find and replace multi bold phrases with quotes and a tab.

    Many thanks
    Shelley
    Attached Files Attached Files

  2. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts
    You could use a wildcard Find/Replace, where:
    Find = <*>
    Replace = ^0147^&^0148^t
    and the Find parameter includes the Bold attribute.
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  3. #3
    Star Lounger
    Join Date
    Aug 2015
    Posts
    98
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Thanks Macropod, I have tried your solution but it only converts one word at a time - I suspect I may have to put a macro together that will find and replace one word, then look for two words then look for three words and so on.

    Can I ask what does ^0147^&^0148^t mean? when I run the above it puts the quotes in as curly even though my computer is set to straight quotes.

    Thanks
    Shelley

  4. #4
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts
    OK, follow-up the first F/R with a second one using:
    Find = ^0148^t ^0147
    Replace = ^032

    The ^0147^&^0148^t tells Word to replace what is found with a smart opening quote (^0147), the found text (^&), a smart closing quote (^0148), then a tab (^t).
    Cheers,

    Paul Edstein
    [MS MVP - Word]

Posting Permissions

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