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

rpadminserver

Board Regular
Joined
Nov 7, 2007
Messages
108
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.
 

Forum statistics

Threads
1,081,575
Messages
5,359,723
Members
400,545
Latest member
Damntheman30

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top