+ Reply to Thread
Results 1 to 3 of 3

Need help to convert huge mutiple worksheet workbook to text file to feed to mainframe

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    5

    Post Need help to convert huge mutiple worksheet workbook to text file to feed to mainframe

    Macro to convert a mutiple sheet workbook to tab delimited text or fixed width text file





    Hi,

    I ahve a situation where I have to convert a huge mutiple sheet workbook to a single tab delimited or fixed width text file to feed into the mainframe.

    I need help in getting the macro code which can create the text file and overwrites the sdame evrytime instaed of appending to the old data. The macro should have capability to select particular columns and may be delete/select particular worksheets.

    The data on the spreasheet has hedaings which are not of fixed width the heading looks this.

    CURRENT REGULAR ROUTE SCHEDULE
    BILL ORDER DISPATCH DELIVERY
    STORE NAME MAPCD MTH R/S ROUTE STOP TYPE DAY CYCLE DAY TIME DAY TIME DAY OPEN CLOSE CASES/WK.

    Please help me with the macro and your help would be highly apprecaited. Thanks in advance.

  2. #2
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: Need help to convert huge mutiple worksheet workbook to text file to feed to mainframe

    Hi Chandra,

    Please post a sample workbook so that we can all give it a try here.

  3. #3
    Registered User
    Join Date
    06-25-2012
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Need help to convert huge mutiple worksheet workbook to text file to feed to mainframe

    Hi,

    Please find the attched sample workbook. this work book has a macro, but it just writes the data into the text file which is already there in the mentioned.
    but the macro i require should be able to work the way I mentioned in my earlier post. Thank you.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1