+ Reply to Thread
Results 1 to 2 of 2

Need VBA to Convert 1 Column with a ton of data into several rows and columns

  1. #1
    Registered User
    Join Date
    04-16-2014
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    1

    Exclamation Need VBA to Convert 1 Column with a ton of data into several rows and columns

    I am in desperate need of help. I am very new to VBA and have been trying my hardest to figure this out but not had much luck.

    What I am trying to do is import almost 1200 invoice I had previously created in microsoft word and convert these invoices into a .csv format so I can import these invoices into our new invoicing program. I have managed to convert all the files into a .txt document and import them into an excel file.

    now comes the tricky part...

    when the .txt files imported into excel, it imported all 1200 .txt files into one column in excel. I have attached a picture of how the import looks in excel

    The second attachment shows how I need the information seperated (which is all the information contained in each of the 1200 invoices)

    I am pretty sure I need to write some sort of VBA code to have something like this work without doing it manually but I am going insane trying to figure out how to do this. Any help anyone could offer is greatly appreciated.

    Thanks in advance



    imported inv.jpg

    Book2.xlsx

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,684

    Re: Need VBA to Convert 1 Column with a ton of data into several rows and columns

    Instead of a picture, upload your sample file so that we can test and write appropriate code. Will save a lot of time and ensure that data is formatted correctly. It would be really helpful if you uploaded several records so that we can see the spacing between invoices.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Convert rows to columns based on values in a column
    By happy days in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2012, 05:36 AM
  2. Excel 2007 : Convert data from columns to rows
    By thandanit in forum Excel General
    Replies: 1
    Last Post: 03-17-2011, 03:41 AM
  3. convert data from columns to rows
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-03-2009, 11:14 AM
  4. Convert Data from Columns to Rows
    By gav0101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-06-2008, 12:49 AM
  5. [SOLVED] convert 10,000 item column into 1,000 rows by 10 columns
    By McDuck in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2006, 02:55 PM

Tags for this Thread

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