+ Reply to Thread
Results 1 to 5 of 5

Creating Stock in and out data forms to take or remove quantities from an inventory sheet

  1. #1
    Registered User
    Join Date
    10-06-2018
    Location
    London, England
    MS-Off Ver
    2016 MSO 32-Bit
    Posts
    3

    Creating Stock in and out data forms to take or remove quantities from an inventory sheet

    Hi guys, I'm new here but desperately looking for some help after youtube tutorials have come up short.

    I'm creating an inventory management system where the basis is a 'current stock' sheet in a pivot table that will be filled with all the items.
    excel1.png

    I figured out how to create a data entry form on another sheet by recording the macro in this sheet and then linking that macro to a button
    excel2.png

    So the data entry would go into the original stock sheet in image 1, but I tested it on a separate sheet as so
    excel3.png

    However every time I fill out the form in the data entry sheet in image 2, it overwrites the same row (seen in row 5 in example), even though I pressed ctrl and down key when recording my macro, how do I stop this?

    Other than this I'd like to also know, is there away so instead of adding new data to the current stock sheet using the forms, can I create stock in and stock out forms that just edit existing data on the sheet? If so could someone please help me with this?
    I'd be happy to paypal a little cash in exchange for some time and would be eternally greatful, thanks for reading!

    Harriet

  2. #2
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: Creating Stock in and out data forms to take or remove quantities from an inventory sh

    Hi HarrietEllen,

    Can you post the macro you recorded?
    We can clean it up a bit

    dont forget to click the # for the code tags the Mods will be happy that way

    Also Ctrl + down puts you on the last row and you need the row under that

    Grtz
    Last edited by Joske920; 10-06-2018 at 05:09 PM.

  3. #3
    Registered User
    Join Date
    10-06-2018
    Location
    London, England
    MS-Off Ver
    2016 MSO 32-Bit
    Posts
    3

    Re: Creating Stock in and out data forms to take or remove quantities from an inventory sh

    HI Joske920, Thanks for replying! I had no idea I thought it would take me the row under that, silly me.
    Below is the code for the macro I recorded, I hope you can think of something to do with it


    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: Creating Stock in and out data forms to take or remove quantities from an inventory sh

    Hi HarrietEllen,

    I changed it to this, wich does exact the same exept the row mistake offcourse

    Please Login or Register  to view this content.
    But i made an effort to make it a bit smarter with updating the Stock by searching the ID first and if its in the data just add to the stock

    Please Login or Register  to view this content.
    I hope you can use it.

    ps.
    When adding this new code in the same page you might want to change the name of the old macro
    Last edited by Joske920; 10-07-2018 at 03:12 AM.

  5. #5
    Registered User
    Join Date
    10-06-2018
    Location
    London, England
    MS-Off Ver
    2016 MSO 32-Bit
    Posts
    3

    Re: Creating Stock in and out data forms to take or remove quantities from an inventory sh

    Hi Joske, sorry it's been almost a month, life has been crazy busy. I just used this for the project i was working on and it was great. Thanks so much for your help!!
    If you have a paypal send me your address and i will send you a little money to say thanks if you like.

+ 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] Looking for help on a Loop to find and update stock sheet quantities
    By kuduck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-15-2015, 05:21 PM
  2. Creating a basic stock inventory sheet
    By 72saints72 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 07-27-2014, 05:44 AM
  3. I need a stock order sheet to be created from a stock inventory
    By tamhav in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2014, 10:40 AM
  4. Creating User-Friendly Forms for Inventory Entry
    By k64 in forum Excel General
    Replies: 1
    Last Post: 11-12-2013, 02:22 AM
  5. Creating an automatic stock list/inventory, HELP!
    By ibz1000 in forum Excel General
    Replies: 1
    Last Post: 08-01-2013, 05:35 AM
  6. Inventory Stock Balancing with Inventory Data
    By bingbangboom in forum Excel General
    Replies: 2
    Last Post: 01-30-2011, 11:06 PM
  7. Are there any inventory forms that change quantities as needed?
    By Nelson in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-01-2006, 01:15 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