+ Reply to Thread
Results 1 to 5 of 5

Inventory update with macros.

  1. #1
    Registered User
    Join Date
    03-12-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Inventory update with macros.

    Hello all.

    I have a workbook with 3 spreadsheets for my business.

    #1 is the main "interface". Here it display the ticket that will be printed in a thermal printer. I have four rows for items, which are selected from the drop down list (data validation). The list of items is in spreadsheet # 2 and it has the prices on a second column. When I select an item from the drop down list, it fills the price using vlookup. Then, I input the quantity and it gives me the total. Each of the four rows is the same and below all, it gives the grand total. All this info then is saved in the 3rd. spreadsheet. I created 3 buttons and assigned macros: 1 for printing the ticket (and it saves the info also), another one for just saving the sales info (if customer doesn't want a ticket) and a third one to clear the info (in case the sale doesn't happen). The inventory is on sheet #1 also, it's a simple 2 column (item and quantity) and I have to manually update it when I make a sale, but sometimes I forget to update it

    I created 4 macros also: 1) for saving the sale info from #1 to #3 spreadsheet. 2) for printing the receipt. 3) for clearing the fields in case of "no sale" and a last one to update the ticket number (incremental).

    How can I create a macro that will check all four rows of items in sheet #1, check the quantity sold for each item, and then update the inventory? I tried some of the examples shown in the forums, but no success.

    I have attached some pics.

    Thanks all for your help.

    macros.jpg

    note 2.jpg

  2. #2
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264

    Re: Inventory update with macros.

    Please attach a sample file.
    Appreciate clicking the * Add Reputation button on your left side, if you want say thanks to me

  3. #3
    Registered User
    Join Date
    03-12-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Inventory update with macros.

    Sorry about that.

    I added the screenshots and forgot the sample file.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264

    Re: Inventory update with macros.

    Find the attached file with the modification.
    Hope this will help.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-12-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Inventory update with macros.

    Thanks SMILE.

    You really help me and taught me something new (variable loops)

+ 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. How do I set up a formula to update my inventory after a sale?
    By lfrudd in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2016, 05:30 PM
  2. Inventory Update Macro
    By Fredbugatti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2014, 03:42 AM
  3. [SOLVED] Inventory Update Using Excel
    By TheProffesional in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-05-2013, 05:53 PM
  4. Update inventory
    By jwy1sr in forum Excel General
    Replies: 1
    Last Post: 01-31-2011, 01:35 AM
  5. How to update inventory by scanner
    By gurtej1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2010, 08:49 PM
  6. automatically update inventory
    By ItzMeDawn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-27-2009, 12:40 PM
  7. Inventory update ticket
    By JAYLOTT in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-02-2007, 09:55 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