+ Reply to Thread
Results 1 to 2 of 2

Find available item from an Inventory file, searcg alternative Item if not avail

  1. #1
    Registered User
    Join Date
    09-29-2017
    Location
    Milan, Italy
    MS-Off Ver
    Office 2013
    Posts
    1

    Question Find available item from an Inventory file, searcg alternative Item if not avail

    I all, and thank you for granting me the opportunity to post my first VBA inquiry within this forum.

    my starting point is a file with 3 tabs:

    tab 1 is a list of items I need to send out (1 column, one item per row, items are not unique)
    tab 2 is the status of my Stock (2 columns, first one shows the item code, second one shows the avail quantity)
    tab 3 is an "alternative" item list, where I have up to 4 "compatible" items I can search for in case the original item is out of stock

    tab 3 structure shown the main items in the first column, and the alternative items on the same rows of the following 4 columns

    I know I can INDEX/MATCH and -in case of error on first search- move to the next column and repeat the INDEX/MATCH.
    What I do not in VBA is how to change the stock quantity of the items every time I select one from the stock.
    What I mean is that, if in tab 1 I have item "x" listed 5 times, and tab 2 shows a row where item "x" has quantity 4, I don't have a clue of how I can assign 4 items and return an error on the 5th one.

    Any idea or suggestion?

    Thank you and have a great day

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,837

    Re: Find available item from an Inventory file, searcg alternative Item if not avail

    Could you post a copy of your file? It is always easier to help if we can see how your data is organized. Include a detailed explanation using a few examples referring to specific cells and worksheets.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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] Find item(s) in a cell and match to item(s) in a list
    By seleseped in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2017, 12:06 PM
  2. Replies: 5
    Last Post: 03-01-2017, 05:41 PM
  3. Replies: 1
    Last Post: 02-20-2015, 05:25 AM
  4. Trying to update Master inventory file using links to individual item forms
    By jfleisher in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2014, 11:38 AM
  5. Help with VBA, find Item from list then sum totals of each item by type
    By HR_GUY in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2013, 01:30 PM
  6. Replies: 1
    Last Post: 10-09-2013, 11:44 AM
  7. Deduct item from inventory worksheet
    By ChalkerL in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-09-2009, 03:21 AM

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