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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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