VBA to change cells containing specific text.

bwomb

New Member
Joined
Jun 9, 2014
Messages
6
I work with approx. 500 clients and use data from two different databases. Most of the client names match but about 100 do not. some of the mismatched names are very similar and some are not (a client changes their name, and only one of the databases registers the change).

How can I write a VBA that will change all mismatched names from data set B to the correct name that matches data set A each time I import data.

eg. I run the VBA and it will change "Sunrise Financial" to the "Sun Rise Group" and so on for each name.
I know that I will have to manually enter the changes in the VBA which will be somewhat time consuming, but it will save a lot of time and headaches in the future.

Thank you Kind Excel Masters, any suggestions will help.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,215,357
Messages
6,124,483
Members
449,165
Latest member
ChipDude83

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