+ Reply to Thread
Results 1 to 43 of 43

looking for vba solution for inventory sheet

  1. #1
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    looking for vba solution for inventory sheet

    I have an inventory table in excel 2013, every week we take inventory and input the actual amount in stock in column h which through a formula in column I displays the number that needs to be ordered to reach the minimum level of desired inventory for that item.

    My goal is to have the numbers in column I copy over to sheet 2 along with column A (their part number) so that we create an order list. I've had problems doing this not only because I am a beginner at vba and therefore have very basic knowledge of how to write the code but also the fact that column I has a formula and I am asking for it to copy anything greater than zero, it's not recognizing it.

    Any help would be great! thanks in advance.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Cath867,

    Welcome to the Forum.

    Please attach a sample workbook. Make sure there is just enough data to demonstrate your need.

    Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    Thank you for the response, I've attached the spreadsheet I'm working with however, I've deleted the code
    I had in there as it wasn't working and my frustration got the best of me.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    I guess that I needed to make a mock up of what I needed and I didn't do that. it's very simple what I need, column A and I to copy to Sheet2 if I is greater than zero. does this help?

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hi Cath867,

    it's very simple what I need, column A and I to copy to Sheet2 if I is greater than zero...
    Nothing is always as simple as it may be considered, if you don't know how to do it.

    You have Inventory Items without a Part Number, and those will be ignored by default, and filtered out.

    Sorry Cath867, but your Workbook shows nothing in "I" in any Sheet.
    However, I did not allow my frustration to get the best of me.

    Paste this Code in a Standard Module;

    Please Login or Register  to view this content.
    The attached sample Workbook demonstrates further how you could fine tune the Workbook with inter-Alia some buttons. You may change the Sheets and Ranges to suit your actual project.

    Regards.
    Attached Files Attached Files
    Last edited by Winon; 03-16-2017 at 09:28 PM. Reason: Added more info

  6. #6
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    You're right, it's not easy at all when you have no idea what you're doing so that makes me really thankful for people like you that are so helpful! I apologize for my messy information, I'm impressed with what you turned it into.

    Thank you so much, this is going to help me so much and teach me so much! I would be more than happy to contribute to something if there is anyway to give back! just let me know.

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Cath867,

    .. I would be more than happy to contribute to something if there is anyway to give back! just let me know.
    Since you are so kind I shall settle for a miserable $1000.00 only.LOL

    Thank you for the feedback, glad I could help, and thank you for the "Rep" tap as well!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks.

  8. #8
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    lol...you deserve it! I realized I uploaded the wrong database so there was no "I" row as you said. Thanks again

  9. #9
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    hi...I marked this solved but had one more question, not sure if you'll see it or not??

    I am using the database you sent over with the code and it works great, the only thing I'm having problems with is that
    if there is a number in D, it won't copy anything in F over, for instance, if minimum quantity is 2 and on hand in column D is 1,
    F would have 1 to be ordered but the code is only recognizing blank cells in D, not ones that have any numbers in them.

    Could you lead me on how to fix this?

  10. #10
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    I'll have a quick look. Sorry, was busy with some other Threads.

  11. #11
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    Thanks! I appreciate your time

  12. #12
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Got it! What a funny quirk.

    Please remove this line from the Code in the Workbook.

    Please Login or Register  to view this content.
    Regards.

  13. #13
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    Wow Thanks! Works like a charm

  14. #14
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    You are more than welcome.

    Now Buzz Off and stop bothering me!

    Just kidding, good luck with your project further on!

    Kind Regards.

  15. #15
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Are you Cath867 or Chicken?

    Fight back! LOL

  16. #16
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,154

    Re: looking for vba solution for inventory sheet

    Some pretty nice code here Winon....When you got it...YOU GOT IT

  17. #17
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    Winon:

    Not everyone is a natural born fighter like you. Some of us are peace makers.


  18. #18
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    What a nice surprise to hear from you sintek,

    It has been a while!

    Thank you for the nice comment, ek waardeer dit opreg.

    Vir so bietjie pret gara ek van die Forum Lede.

    Groete.

  19. #19
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    @ Logit,

    I was not born a fighter, you and your miserable attitude turned me into one. I hate it when people fight with me when I am rude to them!

    If you can't take the heat, do me a favor and turn your peace maker into "Making some paces". Now stop bugging me and Buzz Off!

    BTW regarding your PM, calling me a thief, BITE ME!

    Nice to hear from you as well my friend. FDibbins once replied to one of my "Nasty" comments with "Take in some faith bud, like honest Government" LOL
    That really cracked me up!

    I absolutely love the flack you guys throw me way! Keep it up.

    Kind Regards.

  20. #20
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    Someone didn't eat their Wheaties this morning. Chill big fella. It's not all that bad. Get some rest. You'll feel better later. Poor little guy ....


  21. #21
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    lol...no fair fighting while I'm off playing! I am good, you are a savior and I super appreciate all your help!!
    thanks again for all your super powers!!

  22. #22
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    There goes his ego !

    Thanks Cath867 ... you've done it now.

  23. #23
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Thank you for the kind words Cath867, It is appreciated!

    @ Logit,

    There goes his ego !
    If that's how you feel, enjoy the trip my Alter ego!

    Warning: leave Cath867 alone!

  24. #24
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hi Cath867,

    Just in case you are interested, here is another more complete sample of what you could do with the Workbook.

    Regards.
    Attached Files Attached Files

  25. #25
    Registered User
    Join Date
    03-16-2017
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    10

    Re: looking for vba solution for inventory sheet

    That is great! love it and thanks

  26. #26
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Cath867,

    Glad you like it!

    Kind Regards.

  27. #27
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: looking for vba solution for inventory sheet

    I now see why Winon has so many posts... never stops talking it seems! LOL

    Nice work as usual my friend!
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  28. #28
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    Arkadi ... you don't know the half of it !


  29. #29
    Registered User
    Join Date
    03-23-2017
    Location
    louisiana
    MS-Off Ver
    10
    Posts
    3

    Re: looking for vba solution for inventory sheet

    Winon,
    Oh great one. Your spreadsheet in this thread is awesome and exactly what I have been looking for. I have no right to ask more of you but if you find it in you to do one more thing with it I would be most gracious. Would it be possible to add a sheet to the workbook that would list the part number, description, and a running total of how many times that item has been ordered. So that it can be reviewed from time to time to determine how many times we order that item every quarter. This would help reduce inventory on hand and overhead costs. A reset button would be nice as well.

  30. #30
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    Winon,
    Oh great one.
    Good gawd ... would you all PLEASE stop pumping up his ego ? You are creating a monster !


  31. #31
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Jpp887,

    Welcome to the Forum!

    Your request would require some intricate changes.

    Considering
    Would it be possible to add a sheet to the workbook that would list the part number, description, and a running total of how many times that item has been ordered. So that it can be reviewed from time to time to determine how many times we order that item every quarter. This would help reduce inventory on hand and overhead costs.
    Please use my sample Workbook and add your required changes, then attach it as a sample workbook.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards.

  32. #32
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    @Logit,

    You are creating a monster !
    Don't worry my Friend, I shall never steep down to your monstrous level.

  33. #33
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    Muuwha ha ha ha ha .....

  34. #34
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    @Logit,

    I appreciate you all the same, shortcomings or not.

  35. #35
    Registered User
    Join Date
    03-23-2017
    Location
    louisiana
    MS-Off Ver
    10
    Posts
    3

    Re: looking for vba solution for inventory sheet

    Here is what I was looking for. See Review notes and mock sheets in workbook.
    Attached Files Attached Files

  36. #36
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Thank you Jpp887,

    Please leave it with me for a while, to allow Logit to wave his magic wand!

    If not, I shall respond promptly.

    Kind Regards.

  37. #37
    Registered User
    Join Date
    03-23-2017
    Location
    louisiana
    MS-Off Ver
    10
    Posts
    3

    Re: looking for vba solution for inventory sheet

    You guys crack me up. I appreciate all your efforts and help.

  38. #38
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Jpp887,

    With a few adjustments to the Code, the attached might serve as a start for your requirement.

    Please don't share it with Mr Logit, as I am not in the mood for his tantrums. I mean, come on, how looong does he need for this simple adjustment?

    Your feedback will be appreciated!

    Kind Regards.

  39. #39
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    Winon :

    Interesting approach. Not certain I would have done it that way ... but ...

  40. #40
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Jpp887,

    I really don't appreciate you ignoring my request, quote;

    Please don't share it with Mr Logit...
    end quote.

    As I have predicted I am now stuck with his typical tantrums.

    Since, Mr Logit is so clever, and you are so stubborn, I have no other option than to withdraw my help, and leave it in the incapable ability of his Lordship Logit!

    Now BUZZ OFF, both the three of you, and let me be!!!

  41. #41
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,001

    Re: looking for vba solution for inventory sheet

    As always ...

    WOW ! Just wow ...

  42. #42
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hi Jpp887,

    And there you go!

    His honorable Logit contributed to your Thread.

    I am at a lost as how and where you would apply his "valuable" contribution, so I shall leave it to you to sort out that one, since I am stumped by his brilliance!.

  43. #43
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: looking for vba solution for inventory sheet

    Hello Jpp887,

    Thank you for adding to my Reputation, and good sense of humor, I really appreciate it!

    @ Logit, Please note that I am talking to Jpp887 and not to you, back there in the peanut gallery.

    Best Regards Guys.

+ 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] Need Help with Inventory Sheet: Adding to the inventory and Logging
    By petg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-09-2015, 02:26 PM
  2. solution hidden shett 2 and sheet 3
    By bogd1n in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2015, 03:54 PM
  3. Excel Barcode Inventory Solution Needed...Willing To Pay!
    By Jarron09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2013, 04:57 PM
  4. Replies: 6
    Last Post: 04-23-2012, 09:47 AM
  5. Need If function solution for a price sheet!!!
    By ogniand in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-20-2008, 01:49 AM
  6. Inventory sheet
    By mufan in forum Excel General
    Replies: 4
    Last Post: 12-15-2008, 01:22 AM
  7. Need solution to overrite and add sheet name to row
    By ap_naveen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2008, 04:58 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