+ Reply to Thread
Results 1 to 8 of 8

Extracting specific date from Inventory list

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    22

    Extracting specific date from Inventory list

    Dear Community,

    as so often I know that excel is capable of something and I am just not able to make it do what I need it to.
    I have a very nice inventory list for a market which shows me the articles I need to order if they expire within the next 90 days (I made a shortened simplefied version to upload).
    What I wanted and failed to do is write a macro that will check which articles need to be ordered (number in column F is greater or equal to 1) and than generate a new sheet only giving me the Number (column A) the Article (column C) and the amount I need to order (column F).
    The original list is some 20 pages long an as I need to print the list and want to save paper I would like the results to be (1) still in the order of increasing number (column A) and like you can do in word in columns next to each other.

    I would greatly appreciate if someone here can help me out
    Thanks Amy
    Attached Files Attached Files
    Last edited by amymy; 06-16-2017 at 04:37 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Extracting specific date from Inventory list

    Keeping it simple I would just filter on the sheet you have.

    To get list
    Please Login or Register  to view this content.
    to return the sheet to normal
    Please Login or Register  to view this content.
    and maybe add the code to a couple of buttons one to format, one to set make to the original

    obviously the data range can be expanded from 2000 if needed

    Dav

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,363

    Re: Extracting specific date from Inventory list

    Quick 'n dirty. Change the 20 (2 times) in the code to the number of articles you have in your list.

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  4. #4
    Registered User
    Join Date
    06-18-2014
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    22

    Re: Extracting specific date from Inventory list

    You guys are awesome! I hope I can get it done from here, wouldn't know what to do without the support I can get here.
    Thanks to both of you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  5. #5
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,363

    Re: Extracting specific date from Inventory list

    Thanks for rep+.
    Don't forget to check back if you have any problem implementing the code in your workbook.

  6. #6
    Registered User
    Join Date
    06-18-2014
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    22

    Re: Extracting specific date from Inventory list

    Hi bakerman2,

    I am sure my next little problem will be easy to solve but I am having a hard time.
    I am using your code to gather data from 3 sheet (I just copied the code and changed the sheet name). My problem is that at this point I am setting the start place for the next sheet by typing the cell (A289) ect.
    But I don't always have that many rows filled. Thus, how do I make the makro find the next empty cell by its self?

    Thanks Amy

  7. #7
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Extracting specific date from Inventory list

    Maybe after the end with replace the line with this
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-18-2014
    Location
    Atlanta
    MS-Off Ver
    2010
    Posts
    22

    Re: Extracting specific date from Inventory list

    Thanks, works great. I had it the wrong way around when I tried it myself

+ 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. [SOLVED] index match inventory list generated from another inventory list
    By dmike23 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-01-2017, 11:08 AM
  2. Replies: 6
    Last Post: 04-03-2015, 05:55 PM
  3. Replies: 5
    Last Post: 04-30-2014, 05:46 PM
  4. Replies: 0
    Last Post: 04-29-2014, 01:01 PM
  5. Replies: 2
    Last Post: 08-05-2013, 12:39 AM
  6. Replies: 3
    Last Post: 03-18-2011, 07:48 AM
  7. [SOLVED] extracting specific data from a list
    By annysjunkmail@tiscali.co.uk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2005, 09:05 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