+ Reply to Thread
Results 1 to 2 of 2

Find and Replace

  1. #1
    Registered User
    Join Date
    11-07-2005
    Posts
    45

    Find and Replace

    Hi all

    how do i find and replace multiple items, i know how to do one, for example

    find 2
    replace with 3

    But how do i

    find 2,4,5,6,7,8,9
    replace with 3

    all in the one go!!!

    thanks
    andrew

  2. #2
    L. Howard Kittle
    Guest

    Re: Find and Replace

    Hi Koba,

    Only way I can think of is to run a macro like this.

    Sub ReplaceEm()
    Cells.Replace What:="2", Replacement:="3"
    Cells.Replace What:="4", Replacement:="3"
    Cells.Replace What:="5", Replacement:="3"
    Cells.Replace What:="6", Replacement:="3"
    Cells.Replace What:="7", Replacement:="3"
    Cells.Replace What:="8", Replacement:="3"
    Cells.Replace What:="9", Replacement:="3"
    End Sub

    HTH
    Regards,
    Howard

    "koba" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi all
    >
    > how do i find and replace multiple items, i know how to do one, for
    > example
    >
    > find 2
    > replace with 3
    >
    > But how do i
    >
    > find 2,4,5,6,7,8,9
    > replace with 3
    >
    > all in the one go!!!
    >
    > thanks
    > andrew
    >
    >
    > --
    > koba
    > ------------------------------------------------------------------------
    > koba's Profile:
    > http://www.excelforum.com/member.php...o&userid=28639
    > View this thread: http://www.excelforum.com/showthread...hreadid=487793
    >




+ Reply to Thread

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.6.0 RC 1