+ Reply to Thread
Results 1 to 3 of 3

VBA required to replace texts

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-12-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    196

    VBA required to replace texts

    Hi Friends,
    i have a code to replace some Text using the below mentioned code, but while changing some addresses, its going wrong..
    could someone please help me on this task.
    example:

    122 Southern street has to be 122 Southern St
    but its getting changed wrongly as 122 Sern St

    HTML Code: 

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA required to replace texts

    Try to add a space before & after the word & the replacement .. i.e “ South “ and “ S “
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Forum Contributor
    Join Date
    12-12-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    196

    Re: VBA required to replace texts

    Quote Originally Posted by nankw83 View Post
    Try to add a space before & after the word & the replacement .. i.e “ South “ and “ S “
    thank you so much nankw83
    it solved my issue easily

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 04-09-2019, 09:50 AM
  2. REPLACE function help replace two separate texts Ctrl H
    By Uldis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2015, 10:51 AM
  3. Replies: 9
    Last Post: 07-02-2015, 01:13 AM
  4. match texts with a text ,replace text with other
    By kavin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2015, 02:03 PM
  5. Automatically find and replace texts and numbers
    By a_27826 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-19-2013, 01:22 PM
  6. Macro to search through button texts and replace
    By sm9748 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2013, 10:35 AM
  7. [SOLVED] How to Find and Replace a string if cell does not contain certain texts.
    By windcloud2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2012, 01:04 PM

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