User Form - Select From Combo Box And List Box Should Populate

Jan 18, 2007

I've created a user form (click button on 'main page' to display). Combo Box called 'Last name' gets populated with all second names from the sheet 'Staff'

When a user selects a second name from the drop down list, I would like excel to automatically update the list box 'First Name'. Also, If a user changes the first name or Last Name, this should be saved

View 9 Replies


ADVERTISEMENT

User Form With Combo Box Dependencies

May 28, 2009

I am working on a user form which is pretty much functional, I have it set up where one combo box controls the results of the next based on user selction. I would like to take this one step further and base all the results on the selection of an option box. I have triplicated my results for the option box in the 'control' worksheet, but can not figure how to filter the results based on the inititial 'user type' selection.

View 9 Replies View Related

Link Two Combo Boxes Via A User Form

Feb 18, 2009

I'm trying to link two combo boxes via a user form. I'm trying to select a city in one combobox which in turn would provide a listing of zip codes for that particular city in the next combobox.

View 6 Replies View Related

User Form - Delete Row On Worksheet Via Combo Box?

Jun 16, 2006

I am trying to figure out how to delete a row on a worksheet via a VBA User Form. I currently have a User Form with a Combo Box that is populated by cells in a named range ("PickCategory...") on a worksheet... I am populating thsi box using this

Private Sub UserForm_Activate()
ComboBox1.List = Worksheets("data").Range("PickCategory...").Value
End Sub

First off, I want to include a lable that will display the contents of the cell to the right of the currently selected entry of the combobox on a label (or textbox). So, whatever entry you select in the combo box, the corredponding value (to the right of it on the worksheet) will appear in the text/label
box. Is there something similar to the VLOOKUP that will work in VBA?

Also, what I want to be able to do is to allow the user to select one of the entries from the combo box (which is already working) and then be able to delete the row of that entry on the worksheet. So, the user selects an entry from the combo box and then clicks a "Delete" command button to delete the row of that entry on the worksheet...

View 6 Replies View Related

Select Grand Total Form Combo Box

Mar 23, 2009

I have 2 combo box: the first one is called combo box1 and the 2nd one is called combo box2. I simply want whenever a name is selected from combo box1; i want a Grand Total to be selected automatically from Drop Down box2. I have several names in the Combo Box2 and Grand Total is always the last. So note that the list of names in Combo Box2 is dynamic and they keep changing all the time. I have attached a sample for more details.

View 2 Replies View Related

Populate User Form

Jan 16, 2007

I have created a user form for which I would like to do the following:

1)Select Last name using a combo box and with this all other fields should be automaticallu populated

2) If I make a change on the user form, it should update the relevent cell as well

All data is in the sheet 'Staff'

View 7 Replies View Related

Populate More Than One Worksheet From A User Form

Oct 19, 2009

I've only just starting using Excel for anything other than basic calculations and have got a little stuck with a user form. On my attached spreadsheet I am trying to set up a form for staff incident reporting. There is a Contents worksheet and then each incident has it's own detailed worksheet. The user will click on 'create new incident' on the Contents page.

This opens a user form. From this form I want to populate the contents worksheet. I then also want it to populate the relevant incident worksheet. I can populate the contents page but I need help getting the correct Incident worksheet populated at the same time. Hopefully all will become clear running the file.

View 5 Replies View Related

Using A User Form To Populate Spreadsheet

Jan 20, 2010

I’m looking to use a user form to populate a quotation template, I have been able to link the first part of the form to the sheet as these are static cells but I’m struggling in getting the items details area of the form to work as I need. Below is a brief description what I need.

Item Details area

Move down a line after every time the add button is pressed and clear contents of the text boxes for the next item.

Also I want to make each * denoted item required before you can add a new item

I’ve uploaded a copy of the file if my description isn’t too clear

View 9 Replies View Related

Populate Textbox On User Form

Feb 9, 2007

File attached

1) I have a user form that picks data from a spreadsheet - This is for scheduling a course. Works fine

2) I have a second form which should do 2 things:
a) On the bottom half of the form, select people from sheet 'Staff'. Works fine
b) On the top part, I would like to select a course (using combo box) and fromt this select a date for when the course has been scheduled (from sheet 'Scheduled Courses'). Courses are run a few times so have multiple entries. With some help, have done this and it works well

The problem is that when I select a date for a course using combobox2, I would like to populate the text box 6 & 7 with the cost of the course and the location. This goes wrong as it starts taking cost and location from the first cell. Eg when i select SPIN Selling, all is fine as this are the first courses. However If I take 7 Habits, it gives me costs for SPIN. If I take OM, it still gives me costs for SPIN. The dates in combo box 2 appear fine

View 4 Replies View Related

Populate User Form From ListBox Selection

Oct 21, 2009

Using the Roy Cox Database code http://www.excel-it.com/vba_examples.htm , I am trying to populate a user form when the user selects a list row. I don't know if this is important, but I have extended my list beyond 10 columns. The list appears in UserForm2, and it should populate UserForm1. UserForm1 is also available to fill in from scratch; the info pulled from UserForm2 is from a search.

Here is my problem:

UserForm1 does not populate with the current selection, but rather the previous selection. It will appear blank upon the first selection. If I close UserForm2 after getting a blank on Form1 and call UserForm1 from its own macro, I will also see that previous selection.

View 2 Replies View Related

Select Date From User Form

Mar 13, 2008

I need to let my users select their own start date for project work. All details so far are entered using a form. What methods are there?

View 9 Replies View Related

Make A List Of Selections For User To Choose From In My Combo Box?

Jan 8, 2008

How do I make a list of selections for user to choose from in my combo box?

View 9 Replies View Related

Populate A List From A Value In Another List Or Combo Box

Aug 10, 2009

I have a worksheet in which Col. A contains the names of London boroughs and col. B contains the name of each Ward in that borough. I'd like to create a list (or combo) box showing all the London boroughs, and a second list (or combo) box which will show all the Wards for the Borough selected in the London list (combo) box. I'd also like the option to be able to select all the Wards for the borough selected so that they can be used in a chartgraph.

View 2 Replies View Related

Userform Which Allows User To Select A Date Form The Calendar

Mar 4, 2009

I have a userform which allows user to selected a date formt he calendar. In my code I name the value selected myDate. I want to have a line of code at the begginning of my code that checks if myDate = a date already listed in column H on a sheet named "all dor's". if it does match then a msgbox appear saying "date already entered" and the code return to the opened userform.

View 9 Replies View Related

Programme To Automatically Select A Value From A List Or Range Once A User Has Selected Corresponding Value From A List Within A Combobox

Jan 28, 2007

i'm writing a refrigeration selection user interface, working from values on an excel spreadsheet. how to get the programme to automatically select a value from a list or range once a user has selected corresponding value from a list within a combobox. for example if a user sets the temperature of their refrigerator to -5 celsius i need the programme to automatically select the corresponding value of enthalpy for the air at that temperature.

View 5 Replies View Related

Add List User Form, List Box And Get Input

Dec 16, 2009

I wrote a macro which creates desired output based on one default variables. But I want to change it to take user selected assumptions and perform the macro for each user selected variables.

I am confused with user forms and controls and what to use.

Can anyone give the code to how to add a list box to a userform and then add items to the listbox, and run macro based on thegiven input in the list box?

View 14 Replies View Related

List Inside Of A User Form

May 14, 2009

Working on a user form... I have a combo box, with a list of the items available.... then I have a text box that inputs the quantity. Is there a way that I can put a list underneath in such a way that every time I select a item, put the quantity in the text box, it will list down in that list?

In other words... If I have 5 products for the same order I would pick one, qty and click add, then another one, qty, and add... so on. That way I would be able to see all of the items that I have picked.

View 5 Replies View Related

Unique Value In User Form List Box

Jan 24, 2007

I have created the attached file and would like to do the following using user forms:
1) From the sheet 'Courses', select a course on schedule it on a date - No problems, done this using form 'Schedule Course'

2) I would then like to assign people to courses scheduled using 'Attendees' form - this is where I am stuck and will appreciate some help. Problems faced are:

I need to schedule the same type of course more than once however I want the user to have only one selection from the drop down list (Spin should appear only once even though I have 4-5 scheduled) - he should then be able to select one of the dates for when the course has been scheduled

View 9 Replies View Related

Change List Box Color In User Form

Oct 19, 2009

The list boxes on my Form all have a dark blue backround which makes it hard to tell when the box has been selected for data entry. Could someone tell me what item in the "properties" window controls this function.

View 14 Replies View Related

User Form Data Validation From List

Feb 8, 2010

The text box where the end user types in the data - I want to make this have a drop down list like when using data validation but dont have a clue how to.

View 5 Replies View Related

Update List Without Closing User Form

Feb 17, 2010

In the attached example I can't add more than one name at a time without closing the user form. I can edit the list and click the "Save Changes" button and the changes happen. But using the "Add Name" button I can not add more than one name without closing the form, it just overwrites the previous name unless I close the form.

View 2 Replies View Related

User Form That Creates Ordered List

Mar 19, 2007

i need to create an user form that creates an ordered list when an input for the starting number, the ending number, and the increment is entered by the user. the ordered list must also start in the specified cell that is entered by the user. i understand how to design the user form but the coding necessary for making the macro baffles me.

View 4 Replies View Related

To Make A Combo Box In Excel That, If I Select It The Sheet Inside The Combo Box Will Appear

Sep 19, 2009

I want to make a combo box in excel that, if i select it the sheet inside the combo box will appear.

Example:

Inside of combox are: Sheet1
Sheet2
Sheet3

If i click combo box and i choose sheet3 the sheet3 will appear.

How can i do this? theirs a macro code to use?

View 9 Replies View Related

Creating User Form With Drop Down List Boxes

Sep 29, 2009

this is my first attemp at doing a "userform". I am looking for some help in creating a user form that enables users to choose items from drop down boxes, which shows next level drop down list items, then down to final drop down list with information based on first two choices. I've attached the sample file for reference.

View 3 Replies View Related

Randomly Select One Of Two Cells To Populate From List?

Oct 16, 2013

I am wanting to randomly select one of two cells and then populate that cell from a list I have on a different sheet.

View 1 Replies View Related

Userform - Allow User To Select From Dropdown List

Mar 10, 2013

How do I allow the user to select from a dropdown list but disallow them from entering value into the textbox?

View 1 Replies View Related

Select Multiple Criteria From Validation List Dropdown (populate Same Cell)

Aug 8, 2012

I have a validation list drop down box set up to reference data in a defined name list. I would like to be able to select multiple values from this list to appear in one cell (preferably separated by a comma). For example, the defined name list contains the following data:

Choice 1
Choice 2
Choice 3
Choice 4

I would like to be able to populate one cell with the following via the drop down list: Choice2, Choice 4

Is this possible and if so, how?

View 8 Replies View Related

Display A List Of Cell Entries, Allow The User To Select Which To Delete

Sep 16, 2009

Hoping someone would be able to help me with this. I have a sheet (example attached) and this sheet has a number of varying description types in the W coloumn (usually approx 10,000 rows). This field is manually input so there could be spelling mistakes and/or non standard descriptions.

What I would like, if possible, is a macro that would look at the D column and if this is 'GENERAL LEDGER', it would then look at the W column.

An input box would come up, and would list the different descriptions it found in column W, and number them. It would only list each different description once.

e.g.

1. Bank charges
2. Bank charge
3. Cash
4. Fund Custodian Fees
5. Fund Manager fee
6. Interest income cash account
7. Interest income cash acc
8. Miscellaneous expenses
9. Miscellaneous income
10. Other income
11. Sec lending comm
12. Sec lending commission income
13. Tax Reclaimable - Dividends
14. Withholding tax dividend

The user would then be able to type in the corresponding numbers, if possible seperated by a space, comma or semicolon and the macro would then run through the sheet and delete the entire row if D was GENERAL LEDGER and W was the selected description.

View 9 Replies View Related

Auto-Populate Order Form From Storeroom Count Form

Jun 17, 2014

I have a spreadsheet I use to keep track of weekly sales patterns and use for estimating the amount of a product I would need to order taking into account what I would expect to sell in a given week and what stock I have at present. On the example I've attached, I show where I enter my storeroom count figures, which are organised by supplier and the position in which a particular product appears on the supplier's order form. I have a page which lists the orders by suppliers and which are used to place the orders by e-mail or telephone.

At present I have each supplier section of the order form directly linked to a cell on the storeroom count as per columns K to M on the attached file. However, this means that as products are de-listed by suppliers and extra products become available, I have to edit the formula in each cell as the products now appear in a different position on the storeroom count and may otherwise end up on the order form for a different supplier. I would like to set it up so that I just have to select the supplier name and the table below will automatically fill with the required info, in order of the position they appear on the supplier's form. I'm struggling to combine vlookup and hlookup. Is there a way to do it or do I need to rethink?

View 4 Replies View Related

User Form-Easy Selection Of Data To Be Filled In The Form

Jun 3, 2006

find the attached workbook

I have a Database and user form, in the user form i have a field named “Vehicle No” this is a combo box from which a user needs to select the Vehicle numbers, and all these are working fine now, I need your help in the following:

When user selects the second field named "Select Vendor name" i need a pop up window which shows all the Vehicles belongs to the vendor which they have selected, and with the popup window user selects the vehicle number then the Vehicle number combo box should be filled.

Currently users have to select by scrolling through Combo box which takes long time and difficult to find by scrolling.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved