+ Reply to Thread
Results 1 to 8 of 8

find and replace macro cell to keyword within cell

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    4

    find and replace macro cell to keyword within cell

    Hi,

    Is it possible to copy the full contents of cell a to where the [keyword] is in cell b throughout the entire sheet using a macro?

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: find and replace macro cell to keyword within cell

    it's not clear for me waht you want, can you attach a sample ?
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: find and replace macro cell to keyword within cell

    I want to copy contents from each cell in column K into column J wherever the word [make/model] appears in the column. There are only a handful of each instance [make] so I could do them manually.

    Actually it would be even better I could take each entry in column K, remove the " - " and capitilize the first letter of each word, then insert into column J all in one go if possible.

    excel_book_sc.jpg

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,622

    Re: find and replace macro cell to keyword within cell

    Do you want to replace contents of J cell or add to J cell Contents?

  5. #5
    Registered User
    Join Date
    09-05-2012
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: find and replace macro cell to keyword within cell

    add to J, well, replace [make] in cell J with the contents of cell K

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,622

    Re: find and replace macro cell to keyword within cell

    In J1 cell use this formula.It can dragged downwords.

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-05-2012
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: find and replace macro cell to keyword within cell

    thanks, I figured it out in the end. can't believe how much time I saved, did what I thought was a 2 hour job in 2 minutes

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: find and replace macro cell to keyword within cell

    @ jimscott

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

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