Based on Project Type populate address in Excel

sanmisds1

Board Regular
Joined
Jun 28, 2005
Messages
54
Hello All,

Thank you for all your help in the past. I have been searching code to do this trick but I have been unable to find the solution using search and FAQs:

I get everyday a large file of about 12000 rows. Col M indicated the Project Type. Project types varies any wher from Civil, Mechanical, Chemical, etc. Each rows are identified with Project Types in Col M. Col G through Col L has addresses (name, street add, city, State, Zip, Tel #). Now, I'd like a VBA Code that replaces the addresses if the Project Type is , let's say, 'Chemical'. Then the address I'd like to see is: Micky Mouse, 123 Mickey St., Orlando, FL, 33456, 401-123-4567 (Cells in Col G thru Col L). Can any of you please help me? I appreciate it. Thank you.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,939
Latest member
Leon Leenders

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