LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 28
Default Export excel file to txt

Hi,
I have to submit salary details to bank in txt format with following format.

1st field with 16 char length, 2nd field with 3 char, 3rd with 8 char, 4th
with 1 char, 5th with 17 char & 6th with 30 char.

All columns are to be left aligned except the 5th column which is to be
right aligned.

Sample data is given below:

A B C D
E F
0408040100002788 INR 0408 C 20878.00 Amrendra Pratap Singh
0408040100002798 INR 0408 C 26097.00 Bhan Prakash
0408040100002830 INR 0408 C 28470.00 Chandrakant Chandramouli
0408040100002832 INR 0408 C 36062.00 Gajanan Pranjpe
0408040100002833 INR 0408 C 9490.00 Hari Singh
0408040100002840 INR 0408 C 28944.00 Jitender Rana
0408040100002842 INR 0408 C 39843.00 K K Dutt

Can any one help me with a vb code to export my excel data to txt in the
prescribed format.

thanks



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to export excel file in dbf format Andrew Excel Discussion (Misc queries) 1 December 19th 06 09:59 AM
Excel file export problems Bobby P. Excel Discussion (Misc queries) 0 July 31st 06 03:08 PM
Export Excel File to Ascii rlnicholsms Excel Discussion (Misc queries) 1 June 7th 06 05:04 PM
Export notepad file to Excel Carrie Excel Discussion (Misc queries) 2 February 2nd 06 05:36 PM
Export excel file to semicolon delimited text file capitan Excel Discussion (Misc queries) 5 April 7th 05 03:06 AM


All times are GMT +1. The time now is 02:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"