Wrap text in final .csv file

kumarmfs1

New Member
Joined
Sep 22, 2017
Messages
2
Hi All, this is kumar, Currently i am working on legacy system(Mainframes) and we use to send the final reports to users in ".csv" file format using SAS. Today we received a new requirement to dynamically "Wrap Text" for particular field.

EX:
"First Name",="Last Name",="Middle Initial",="DOB ",="Address1" ==> Header Record
"Abc ",="LM ",="MI ",="01012017",="St name and Flat No and APT name" ==> Detail Record


My requirement is to Wrap the test under "Address1" data to 11 bytes and then the next data should follow under the same field

Expected output when the file is sent through SAS in .csv file format:
"First Name",="Last Name",="Middle Initial",="DOB ",="Address1" ==> Header Record
"Abc ",="LM ",="MI ",="01012017",="St name and
Flat No and
APT name" ==> Detail Record1
"ABBB ",="LM2 ",="MI2 ",="01012017",="St name and
Flat No and
APT name ap
sample data" ==> Detail Record2


Please let me know if any solutions.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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