sanlike

New Member
Joined
Sep 24, 2008
Messages
3
i have a excel file which I want in .txt output.
In EXCEL sheet1 A1 contains number, B1 contains name, C1 contains Amount, D1 contains particulars.

When I run Macro in text file to be created. In text out put I want spacing for A1 data is 14 {the account number varies from 5 digit to 14 digit} B1 30 (name characters may be from 5 to 25), C1 15 & D1 10
EXAMPLE
In Excel
A B C D
1 7895689 SHANKAR 125.90 CASH
2 2568698522 RAJA 12565.00 CHEQUE
3 256 WILLIAM RAJASHEKAR 256865.55 CREDIT CARD

IN TEXT FILE THE OUT PUT SHOULD BE

7895689 SHANKAR 12590CASH
2568698522 RAJA 12565CHEQUE
256 WILLIAM RAJASHEKAR 25686555CREDIT CARD

:ROFLMAO::)
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
No estoy seguro porqué colocó la presente en el foro para idiomas extranjeras. La voy a mover al foro de inglés.
 
Upvote 0

Forum statistics

Threads
1,215,717
Messages
6,126,422
Members
449,314
Latest member
MrSabo83

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