Macro to replace value on sheet with a value from another sheet

rpadminserver

Board Regular
Joined
Nov 7, 2007
Messages
111
Office Version
  1. 365
Hello All..
Quick history:
We have assets that are known by what we call "external" name. This external name is an unique identifier. But... When our oracle database was created, this external name was not used has the key field, another "internal" name was used.
Example
External name = 987654 Internal name is 1111
External name = 876543 Internal name is 2222
External name = 765432 Internal name is 3333
Problem:
I'm creating a speadsheet what will be saved as a CSV file and used for uploading to the oracle tables. This spread sheet will have 2 tabs "Upload" and "Assetmatch"
Upload is where our work is done and where the user will have to enter the External name. the Assetmatch tab will have the external name/internal name relation.
Before saving as the CSV file (and the upload can be done) the External Name needs to be replace with the internal name on the upload tab. So.... I'm looking for a macro what will do that.
On the UPLOAD tab, the external name will always be column A. On the Assetmatch tab, the external name will column A and the internal name will be column B.

Thanks all.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,223,886
Messages
6,175,189
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top