+ Reply to Thread
Results 1 to 5 of 5

Invoice Data Extraction Query/VBA/???

  1. #1
    Registered User
    Join Date
    03-07-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Invoice Data Extraction Query/VBA/???

    I have an invoice which I need to extract data from on weekly basis. (file is attached)

    We need to extract the 4 lines in each column beginning with the first line that has a sequential number order in the PIN column (numbers in red from 1 to 17). this sequential number could be as high as 600...and the number of pages would also increase...but not the number of worksheets.

    Any advice as to the easiest way to do this??? Not really sure where to start...

    Thanks very much for any help or advice as to the best way to proceed...

    Bill

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Invoice Data Extraction Query/VBA/???

    Hello billsfree,

    Welcome to the Forum!

    The macro below will need some changes made since you didn't provide any information about exporting the invoice. Let me know how you want to export the invoices and I can make the needed changes.

    This macro assumes the Customer Name is in red font as it is in the sample workbook. If this not the case, let know.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Invoice Data Extraction Query/VBA/???

    Hi billsfree

    I'm presuming that data in Shee1 will always be presented in the same format

    To enable us to fully assist you, could you design a template in Sheet2 of how you want data to be presented ? (don't worry about keeping it simple, give an example of how complex a report could appear)

    Once you've created the template, the experts will then be able to do the technical stuff of how to achieve your requirements

    Or.............

    If you just want to display rows that have a PIN you could put a formula in column E

    Please Login or Register  to view this content.
    copy and paste that down for as many rows as you have data

    then apply a filter where column E = 1

    If you want to also display in info below each customer name then use this formula in column E

    Please Login or Register  to view this content.
    then apply a filter to column E to show non blanks

  4. #4
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Invoice Data Extraction Query/VBA/???

    i've uploaded a file with a filter applied
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-07-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Invoice Data Extraction Query/VBA/???

    cannot seem to get the revised workbook to attach...paperclip icon is there but does nothing when clicked? nor does manage attachments when clicked...

+ 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. Replies: 4
    Last Post: 11-04-2012, 12:43 PM
  2. Automatic web data query/extraction
    By JohnLee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2012, 09:28 PM
  3. making a query for my invoice system in excel
    By colatje in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2011, 05:46 AM
  4. Replies: 3
    Last Post: 06-29-2010, 05:28 PM
  5. Invoice address query
    By BongoBill in forum Excel General
    Replies: 11
    Last Post: 02-11-2009, 11:39 AM

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