+ Reply to Thread
Results 1 to 3 of 3

Macro for copy cell, find and replace in specific place

  1. #1
    Registered User
    Join Date
    10-12-2019
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    31

    Macro for copy cell, find and replace in specific place

    Hi,
    I was trying to figure out the macro for coping, finding and replaing the content. However, still cannot figure it out, as I am learning macro.

    I want macro to do:
    1. Copy value from E2
    2. Search in D2 src="%"
    3. Replace copied value inside src to have src="yyy.jpg"
    4. Follow the process till the rows are not populated
    Screen of file:
    1.JPG

    Attached the file with the needed change.

    Awaiting for your kind help.
    Thank you.
    Regards,
    Jakub
    Attached Files Attached Files

  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: Macro for copy cell, find and replace in specific place

    It doesn't really need a macro, a formula will do that.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you do need a macro just get the macro to copy that formula into the required range.
    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
    Registered User
    Join Date
    10-12-2019
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    31

    Re: Macro for copy cell, find and replace in specific place

    Thank you it works perfectly!
    Last edited by cosiek; 10-21-2020 at 08:48 AM.

+ 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. [SOLVED] macro find and replace in a specific column specific words to an abreviation
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2018, 06:05 AM
  2. Macro to find and replace specific strings in a cell link by using cell references
    By beginningcoder in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-15-2016, 09:37 PM
  3. [SOLVED] Help with macro to find a specific word and replace the entire cell with the return word.
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 08-24-2015, 09:40 PM
  4. Find specific Data copy and paste into Cell Macro VBA
    By kunmateo93 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2014, 10:17 AM
  5. Macro to find all specific values in column and replace adjacent cell values
    By dblock02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 06:03 AM
  6. Macro to Copy from Excel and paste to a specific place in word
    By tjynyc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2012, 01:01 AM
  7. [SOLVED] Macro to copy cell contents then used Find & Replace to put text elswhere.
    By AimeeNZ in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2012, 01:06 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