Results 1 to 9 of 9

Find and Replace all - Macro with user input

Threaded View

  1. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Find and Replace all - Macro with user input

    The attached workbook macros will prompt the user for two input values and will then delete (clear the contents) of all cells in the worksheet of those values. It uses a wildcard such that if the user enters "red" and "green" , it will clear "red", Red", "red bull", "red ball", "green", "Green", "green apple", etc.

    Please note, the macro requires the entry of two values. It can be modified to accept only one value but your specs indicated two.

    Let me know how you make out.
    J
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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