Results 1 to 9 of 9

Import, format, convert, print VBA module

Threaded View

  1. #1
    Forum Contributor rinser's Avatar
    Join Date
    02-27-2009
    Location
    Bucharest
    MS-Off Ver
    MS Office 2013
    Posts
    103

    Import, format, convert, print VBA module

    Hi All,

    I was wondering if its possible to build a module that would do the following: a) import a txt file to excel formatting it as text.
    b) then in column D would remove the preceding space.
    c) then convert data in D according to a separately kept Conversion table (or conversion table could be integrated into the code) and print conversion results into column J.
    d) the last step is to print/copy columns A and J so that it looks like the final table in Sheet2.
    Here are files attached.
    sample data.txt
    sample data.xls
    conversion table.xls
    To summarize I need to go from a txt file like the one attached and arrive at the table in Sheet2 of xls file attached.

    Thank you!
    Last edited by rinser; 04-27-2009 at 10:23 AM.

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