+ Reply to Thread
Results 1 to 6 of 6

Need Macro to Find Contents of Active Cell

  1. #1
    Registered User
    Join Date
    04-24-2015
    Location
    CA
    MS-Off Ver
    MS Office 2010
    Posts
    14

    Need Macro to Find Contents of Active Cell

    Hello!

    I have a worksheet with over a thousand client names. Sometimes there are duplicates. I want the user to be able to click on a name (active cell), click a button that I will insert, which will then find and zoom to the next duplicate name. I've searched many forums, but most of the macros are for finding a cell on another sheet. I tried to tweak the macro with no luck. :/

    Thanks,

    TD

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need Macro to Find Contents of Active Cell

    Once you've found the next duplicate what do you then want to do?

    What about filtering the column of names for a particular name and you'll then see all the duplicate names and no need for a macro at all.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need Macro to Find Contents of Active Cell

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Need Macro to Find Contents of Active Cell

    or
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-24-2015
    Location
    CA
    MS-Off Ver
    MS Office 2010
    Posts
    14

    Re: Need Macro to Find Contents of Active Cell

    Quote Originally Posted by Richard Buttrey View Post
    Once you've found the next duplicate what do you then want to do?

    What about filtering the column of names for a particular name and you'll then see all the duplicate names and no need for a macro at all.
    There are many people that use the spread sheet, some with little excel experience. So, A click of a button makes it much easier.

    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.
    Thanks!

    Although, it works for some and not others. Weird.

    I have it setup to highlight duplicate cells, so I know that there are duplicate names.

  6. #6
    Registered User
    Join Date
    04-24-2015
    Location
    CA
    MS-Off Ver
    MS Office 2010
    Posts
    14

    Re: Need Macro to Find Contents of Active Cell

    Quote Originally Posted by nilem View Post
    or
    Please Login or Register  to view this content.
    peerrrrrfect!!!

    Thanks!

+ 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: 5
    Last Post: 01-29-2015, 05:44 AM
  2. Need a macro to add 1 to active cell based on previous cell contents
    By wtom in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-20-2014, 12:16 AM
  3. [SOLVED] Macro to paste in the active cell the contents of a cell from another file??
    By LarryB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2006, 01:45 PM
  4. macro to find data and select from active cell to the last row
    By Lost in Alabama in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2006, 04:10 PM
  5. how do find out the column of the active cell in a macro?
    By Neill Lee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2005, 05:06 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