+ Reply to Thread
Results 1 to 4 of 4

Userform or Pop Up Menu to Change Quantity in cell?

  1. #1
    Registered User
    Join Date
    08-01-2018
    Location
    Ann Arbor, MI
    MS-Off Ver
    2016
    Posts
    96

    Smile Userform or Pop Up Menu to Change Quantity in cell?

    Hello!

    I currently have an order form (workbook A sheet 1) with a code in it with a button that allows me to take all of the necessary information filled out in the form and transfer it to a shipping form (workbook B sheet 1).
    What I would like to do is change is such that when the button is clicked a pop up box appears with all of the part numbers that have been added to the form with a text box asking the quantity that I would like to ship!
    Therefore, the code would need to be able to sense if there is anything filled out in the 'Part Number' column and have that value pop up in the box with the option to add a quantity to it.

    Here is a pic of what I am looking for:
    quantity.png

    The problem is that there could be any amount of parts in the order. I need the pop up to be able to change all of their quantities.

    Here is a modified version of the existing code I was using before the pop up box:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Userform or Pop Up Menu to Change Quantity in cell?

    Wrong Approach.

    You Should be using a Listbox.

    Load the listbox with all your data

    Select a line of the list box

    The Data is Copied into text boxes

    Editing the text boxes modifies the List Box Directly.

    Click on a save button to save the listbox.


    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    08-01-2018
    Location
    Ann Arbor, MI
    MS-Off Ver
    2016
    Posts
    96

    Re: Userform or Pop Up Menu to Change Quantity in cell?

    Hello mehmetcik!

    Sorry for the delayed response. I am now thinking of a new approach.

    What I would like to do is make a listbox in the userform Workbook A Sheet 1 that lists all of the parts available that has a single select ability only (already done). You then would have the quantity text box next to it where you could type in the new quantity. Then, the user clicks the button "add" which will add the selected part number and quantity into a new row in Workbook A Sheet 2. Below that would be a button "done" that would close out the userform and export the newly edited workbook A sheet 2 into its own excel file.

    I have attached another image. I know you requested copies of desensitized versions of the excel file, but I cannot upload excel files when on my work computer. Thanks!

    EXAMPLE.png

  4. #4
    Registered User
    Join Date
    08-01-2018
    Location
    Ann Arbor, MI
    MS-Off Ver
    2016
    Posts
    96

    Re: Userform or Pop Up Menu to Change Quantity in cell?

    Started a new thread. It includes the example desensitized workbooks as well as the userform code.

    See this for additional help:
    https://www.excelforum.com/excel-pro...ml#post4956665
    Last edited by whahmira; 08-15-2018 at 01:48 PM.

+ 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] Populate dropdown menu in userform based off cell value
    By Jamesraywebber85 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2018, 10:10 AM
  2. Replies: 6
    Last Post: 01-23-2018, 04:49 AM
  3. Replies: 11
    Last Post: 07-07-2017, 10:46 AM
  4. [SOLVED] userform change dropdown menu clears text box
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2016, 07:46 PM
  5. Formula/Rule to change with quantity from previous cell
    By rossw8 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-03-2015, 06:12 AM
  6. How a drop down menu's list can change depending on another dropdown menu.
    By sudeepkm73 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-30-2015, 03:18 AM
  7. [SOLVED] Conditional Formulas - How do I make quantity of a cell change the value of other cells?
    By johnny.rockets in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-16-2013, 07:43 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