+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Valued Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    389

    Replace each "§" to "µ" but not those followed by space or "."

    Hello everyone,
    I need a macro which does following for the selected area:

    1a. Step
    Each "§" should be replaced by "µ" in whole document but not those which are followed by "." or ";" or "»" or "«" or "(" or ")" or followed by space.
    1b. Step
    Change the color of new added "µ" to red.

    2. Step
    Each "~" should be replaced by "&" but not those which have "." or ";" or "»" or "«" or "(" or ")" or space befor it.
    2b. Step
    Change the color of new added "&" to red.

    3. Step
    Show message how many "§" and how many "~" were added.



    Example:
    Germa§ vot§r§. ~a~e re~ §av~.


    should become:

    Germa§ votµr§. ~a&e re& §av&.

    Thank you very much for each assistance in advance.


    This Problem is posted also to excel programming area of this forum!
    Last edited by wali; 09-30-2009 at 03:35 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    389

    Re: Replace each "§" to "µ" but not those followed by space or "."

    Can any one please help!! The problem for excel is solve but i need it for word as well!!

    solution for Excel:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.2.0