EXCEL MACRO: Find & Replace based on sheet

harky

Active Member
Joined
Apr 8, 2010
Messages
313
I need some help again :D


I need to find from Column A2 below from Data (sheet)
and replace from Column A2 below keyword (Sheet)

replace format as what found in Keyword sheet


A1 is header
 

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

harky

Active Member
Joined
Apr 8, 2010
Messages
313
oh my sound strange.. i think i got it wrong?

A1 is header
My result sheet is at DATA sheet A2 below

I suppose need to had 2 table on KEYWORD Sheet?

Table 1 (A2) is the text which found at DATA Sheet?
Table 2 (B2) is the text to be replaced?
If cannot find, just ignore and process the next (no changed done)
 
Last edited:

harky

Active Member
Joined
Apr 8, 2010
Messages
313
Data sheet
A1 (Header)Result
859859_
859A859A_

<tbody>
</tbody>

Keyword sheet
Find (A1)Replace (B1)
859859_
859A859A_

<tbody>
</tbody>
 

Watch MrExcel Video

Forum statistics

Threads
1,102,733
Messages
5,488,551
Members
407,646
Latest member
utl1095

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top