+ Reply to Thread
Results 1 to 3 of 3

VBA User Form with Excel datasheet

  1. #1
    Registered User
    Join Date
    06-19-2008
    Posts
    2

    VBA User Form with Excel datasheet

    I have always prided myself on my general excel skills however I have given up with Pivot Tables and am less than a newb on VBA, sadly. I feel this little project would work much better with a user input and search form reading and writing to a seperate, possibly hidden sheet.

    The sheet is simple to explain. The first few columns give date, customer account reference and name. The column headers are the products.

    This file is a record of who ordered a product and when, which product and how many. We use this to track 'back-orders'.

    Uses:
    • Tells us how many to order
    • Helps us keep track of incomplete sales orders
    • Can be used to show how long we have been out of stock by subtracting todays date from order date

    The user needs to be able to search for a customer account number, perhaps a dropdown list OR a product in much the same way, or a date.
    • Drop down of product will list all customers and outstanding quantities
    • Drop down of customer will show all products on back order for that customer ina nice report/list
    • A date selection will show all customers, products and qty for the chosen date

    If that's not asking enough, I'd like to be able to add a product and clear customer orders when we complete them.

    I was reading this tutorial for ideas but to be honest with you I just can't get my head around it.

    The attachement has two worksheets, one with the data, one I wanted to build the UI on but came to a grinding halt. Any help would be wonderful!

    Thanks in advance.
    Attached Files Attached Files
    Last edited by Tor; 06-19-2008 at 11:49 AM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    I suspect that you could achieve a lot of what you want by putting auto-filters on row 2.
    Martin

  3. #3
    Registered User
    Join Date
    06-19-2008
    Posts
    2

    Trial by fire

    Thanks for that, something I've never used before but it works very well.

    I will trial this and see how we get on with it. I will probably still look to some software locked/coded version as this is one of many similar files we use and it's nice to be able to pull a single file and produce a report from it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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