Results 1 to 7 of 7

Thread: Extracting Specific Line Of Data From Text File Using VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    12
    Rep Power
    0

    Extracting Specific Line Of Data From Text File Using VBA

    Hi,
    Please assist in creating vba code that will automate current task as follows,
    - manually open each file to check if complete with volume numbering 200+ accounts.
    - It was made by checking value of the ending balance - normal - ist file as againts ending
    balance of the next, if values are equal it means files complete,if not incomplete.
    Sample content of file
    file 1
    ,,,,,"BEGINNING BALANCE-NORMAL","C","","11602603.58"
    ,,,,,"ENDING BALANCE-NORMAL","C","","9301134.07"
    File 2
    ,,,,,"BEGINNING BALANCE-NORMAL","C","","9301134.07"
    ,,,,,"ENDING BALANCE-NORMAL","C","","4907521.54"

    File format is text and comma deliminated
    Data to look for is located on top- 1st and 2nd row

    I got several codes from other forums and tried to edit them to fit my requirements but to no avail.
    Because at this point I, cannot create original (made by me) code successfully as my knowlede in vba is limited, My macro programs are just copied from forums here and somewhere else.

    Thank you in advance

    Ofel
    Last edited by galang_ofel; 06-01-2013 at 04:00 PM.

Similar Threads

  1. Wrap Text On Spaces Up To A Maximum Number Of Characters Per Line
    By Rick Rothstein in forum Rick Rothstein's Corner
    Replies: 15
    Last Post: 12-20-2016, 09:47 AM
  2. Replies: 3
    Last Post: 06-10-2013, 06:12 PM
  3. Replies: 14
    Last Post: 05-25-2013, 06:55 AM
  4. Extracting Numeric Values From Alphanumeric Text
    By Safal Shrestha in forum Excel Help
    Replies: 3
    Last Post: 03-21-2013, 12:04 PM
  5. Write/Create Text File VBA
    By Admin in forum Download Center
    Replies: 0
    Last Post: 06-20-2011, 01:39 AM

Posting Permissions

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