+ Reply to Thread
Results 1 to 3 of 3

Vba code to find and replace using userform.

  1. #1
    Registered User
    Join Date
    09-25-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    88

    Vba code to find and replace using userform.

    Hi guys,
    Need your help!
    In raw data sheet i have a list of name in AJ column.using userform i want to find and replace names.combobox1 is used to find name and combobox2 is used to replace name.
    eg= when i select name Ajay Solanki from combobox1 and name Aakshi Yadav from combobox2 and enter 5 in textBox1 then in raw data sheet in column AJ outoff 28
    Ajay Solanki 5 Ajay Solanki should replace with Aakshi Yadav.

    Please find the attached sample file

    Regards
    upa
    Attached Files Attached Files

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Vba code to find and replace using userform.

    How about this for starters?
    Attached Files Attached Files
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    09-25-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    88

    Re: Vba code to find and replace using userform.

    Hi bakerman2,
    Thanks for reply!
    Awesome code, I really appreciate your hard work.
    That is exactly what I am looking for. Works a treat.
    Thank you!

+ 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. VBA Userform Find and Replace Data in Worksheet
    By frogger750 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-02-2012, 02:15 AM
  2. VBA Userform Find and Replace Data in Worksheet
    By frogger750 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2012, 12:56 AM
  3. Customised userform for new, find & replace
    By Sean Thomas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2012, 06:24 PM
  4. Code to Find and Replace Userform Values
    By ZEvans12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2011, 10:57 AM
  5. Userform data- perhaps like find/replace?
    By LiLi1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-22-2010, 12:26 PM
  6. Find and replace data using using existing userform?
    By JohnRooney in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2010, 10:29 AM
  7. Userform Find and Replace
    By insanity66 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-21-2009, 06:21 AM
  8. Userform, Find and Replace - Really Complicated
    By HelenMcKenzie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2006, 06:22 AM

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