+ Reply to Thread
Results 1 to 5 of 5

Inventory macro

  1. #1
    Registered User
    Join Date
    08-04-2011
    Location
    Craiova
    MS-Off Ver
    Excel 2003
    Posts
    4

    Inventory macro

    Hi!
    I'm not new to VBA but I'm not as good as I would like. I want to develop an excel application for an inventory and searching the web for help I found something similar on this forum here:

    Inventory help ver 1a.xls
    http://www.excelforum.com/excel-prog...ro-needed.html

    Although this is a great work, I would like to change the userform but the code in there is over my current skills, unfortunately.

    What I have is a list with products that can have multiple locations. I also have the quantity field. I don't know if this is possible, but I would like to change the location to a combobox where, based on the value in on the textbox product, to list all possible locations. Also, I would be good if below the combobox a text will specify in how many location my product can be found. I want to allow users to add the product but also, if they choose a previous location for the product, to be able to edit quantities.

    I already search the web and tried some things but nothing works and I'm not even close to what I want.
    I'm willing to learn but I really need some advice or help.


    -

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Inventory macro

    Hello ascorpie,

    Welcome to the Forum!

    Since I wrote the code, I can help you. You will need to post a copy of the actual workbook. If you have sensitive information, please either change or redact it before you post. If you can not post it in this forum you can email me a copy and I can post the macro code as I go.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-04-2011
    Location
    Craiova
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Inventory macro

    Hi!
    version1.xlsm
    This is what I want to achieve.
    I'm pretty ashamed on what I have done in there...I started by copying your code, bits by bits, just to understand what it does and how can I change it. Every time I thought I found something helpful on the web, I made some changes to your code and right now, the whole project is a mess.

    This is first time I ever used userforms and combobox, never need them before...

  4. #4
    Registered User
    Join Date
    08-04-2011
    Location
    Craiova
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Inventory macro

    I made some progress, now I'm trying to load values in combobox.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    The form adds data if I input a location manually but I get this error: "Method or data member not found" - for
    Please Login or Register  to view this content.
    . Anyone has any idea what I'm doing wrong?

  5. #5
    Registered User
    Join Date
    08-04-2011
    Location
    Craiova
    MS-Off Ver
    Excel 2003
    Posts
    4

    Cool Re: Inventory macro

    Done it !
    Took me some time as I needed to understand user forms but the end result does exactly what I wanted
    If someone needs the same thing, msg me and I will send the file.

+ 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. Want to set Week End Inventory #s to load in Opening Inventory
    By tkeat1692 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2013, 08:58 PM
  2. [SOLVED] Need remaining average inventory price after partial inventory is sold
    By Akano in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 04:12 AM
  3. Inventory macro help.
    By scotts1919 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2012, 12:38 AM
  4. Inventory Stock Balancing with Inventory Data
    By bingbangboom in forum Excel General
    Replies: 2
    Last Post: 01-30-2011, 11:06 PM
  5. Replies: 0
    Last Post: 10-04-2005, 08:05 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