Replace values in Notepad file from CSV/Excel

GreenBox

New Member
Joined
Jan 3, 2014
Messages
7
Hi All,

I need your help to develop a Macro which will help me to eradicate a continuous task...

I have output in CSV as below

CSV FILE

Business NameAddress 1CityStateZipPhone
Tips & Toes Nail Salon9430 W 191stMokenaIllinois60448 (708) 478-7420
L A Nails11322 LincolnMokenaIllinois60423 (815) 464-9445
Asia Nails19610 La GrangeMokenaIllinois60448 (708) 478-8590
Nails Palace & Spa19834 La GrangeMokenaIllinois60448 (708) 995-5529
Kal Nails Spa10148 W 191st tMokenaIllinois60448 (708) 478-6285
Perfect Nails9500 W LincolnFrankforIllinois60423 (815) 806-8789
Jen Nails2063 E LarawayLenoxIllinois60451 (815) 462-1059
Classy Nails15784 S LaGrangeOrlandIllinois60462 (708) 226-1212
Best One Massage16902 Oak ParkTinleyIllinois60477 (708) 532-3103
Magnificent Nails19133 Wolf RdMokenaIllinois60448 (708) 478-7210

<tbody>
</tbody>

I need the above data to be replaced (TEXT File) in the below BLUE highlighted areas

TEXT FILE

Business Name Address 1 City, State Zip
< website details will be placed>
Business Name
Address 1
City, State Zip
Phone

< website details will be placed>
< website details will be placed>
Business Name
< website details will be placed>
City
< website details will be placed>

The final output should be creation of 10 TEXT (.txt) files as per the record count in CSV file in the above Text Format.

Please reply me the possibilities...

Thanks for all your help.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,217,376
Messages
6,136,198
Members
449,998
Latest member
jpaul123

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