Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50061

macro to Copy name in one columm and past to new one. (New Name depending of the rule)

$
0
0
Hi I would like to have a macro, that can example in below. copy and find all names in columm C and change the names and paste the new names into columm D. The change have to be like this below..

All starting with DK will turn to Denmark in columm D
All starting with FI will turn to Finland in columm D
All starting with SE will turn to Sweden in columm D
All starting with NO will turn to Norway in columm D

B C D
29-07-2009 DK16683
29-07-2009 DK16702
29-07-2009 FI01117
29-07-2009 SE24233
29-07-2009 SE24237
17-06-2009 NO00682
17-06-2009 NO00681

Please have a look or use below test.xls to try. Hope some can manage

Thanks in advance

Abjac
Attached Files

Viewing all articles
Browse latest Browse all 50061

Trending Articles