Drop-down Lists In User Forms

Mar 14, 2007

I am making a user form so that others can enter their data into a database.
In some of the fields I want to have a drop down list that will contain both all the options from a generic list, and any other items that have previously been entered into that field. For example I have a generic list of components but someone may feel that none of those listed describe their component so they will add a new one, I want this new one to then appear within the drop-down list for the next user,

View 9 Replies


ADVERTISEMENT

Lists, How To Make Drop-down Lists Optional

May 13, 2009

Is there a way to make a drop-down list optional? When I create drop-down lists the user has to make a choice from that list.

Example: a list of doctors. I need the user to be able to select from that list if the patient saw one of those physicians, but if the patient saw another doctor not on the list, I need the user to be able to enter the name of that other doctor. Currently the user has to select from the list or not enter a doctor. I am using Excel 2003.

View 2 Replies View Related

Dependent Drop Down Forms

Aug 12, 2007

I am trying to put together two combo boxes, Combo1 and Combo2, the content of Combo2 will depend on the selection made in Combo1, for example Combo1 will have 10 items, once an item is selected Combo2 will have different sub selections relating to that item. I know you can do this via Validation, but the problem with that I have about 4000 options in the combo1 and about 60000 in the second, here is the structure of my data:

First Option /Second Option
Option1_____1.1
Option1_____ 1.2
Option1_____ 1.3
Option2_____ 2.1
Option2_____ 2.2
Option2_____ 2.3
Option3_____ 3.1
Option3_____ 3.2
Option3_____ 3.3

My ultimate final result should look like this, two drop down menus once Option1 is selected second drop down form should display these options:

Option1 /_____ 1.1
____________ 1.2
____________ 1.3

see attachment for complete clarity

View 9 Replies View Related

Copy User Forms

Nov 7, 2008

So I have a work book with a number of user forms. One form I have completed has several navigation buttons (previous, save, next......) a couple of drop downs and a "tabbed" (pages) area with a text box on each. I think I finally have it looking (and working) the way I want. The issue is I need 12 more that are Identical (different text - but layout and code is the same) To make them look and work the same how can I copy the one I have correct? Is Export/Import the way to go? Does that bring all the code?

View 3 Replies View Related

FORMAT In VBA On User Forms

Nov 18, 2008

Excel 2003

VBA on user forms

View 5 Replies View Related

User Forms / Menus

Nov 21, 2006

I am trying to graduate out of the crayon age of menus on a worksheet, to using a User Form Menu. Problem is, I don't understand how they work. I've created a test program using a simple form with an option button, a combo button, and a command button. The goal is if the option button is true, it places the color selected in the combo button on the worksheet. Here is my code, what am I missing to make it work?

Corrected code from my original request

Module 1

Public ClrCd As Integer

Sub OpenForm1()
UsrFrm1.Show
End Sub

View 9 Replies View Related

[User Forms] Check Box Is Highlighted?

Feb 28, 2009

My problem is trivial but annoying. When I initiate my user form, one of the check boxes has a dashed border around the outside as if it was selected. No matter what I try, I cannot get the form to initialize without effecting this box. If I delete the box and recreate it, another box simply inherits this problem.

I have attached the spreadsheet, please Click the button over "A1" to see what I mean if you have the time.

View 2 Replies View Related

Loading And Unloading User Forms

May 26, 2009

I have a userform, when it first comes up, then there are some text boxes that needs to be filled. I have the "ok" button which opens another form. What would be the code for whatever was filled in the text box be pasted in a cell? In other words, once it is ok is clicked another form pops up and then whatever info was put in the text boxes is pasted in a report.

View 4 Replies View Related

Joining Modules With User Forms

Jun 6, 2009

I have the following three codes repeated in five different User Forms,

Is there a way to put them all in one independent module?

View 14 Replies View Related

User Forms Do Not Reset When Switched

Nov 28, 2006

I have 2 User forms which take their initial values from the same worksheet. One moves stock to another location, the other removes stock when it has been used.

When I use one of the forms on a different row, or switch to the other form it retains the last row's values until I click on the new worksheet row twice

How can I prevent this?

Private Sub CommandButton17_Click()
If UserForm5.Visible = True Then
Unload UserForm5
End If
If ActiveCell.Row = 1 Then
MsgBox "Cannot Use This Row, Choose A Different One"
Exit Sub
End If
UserForm4.Show vbModal
End Sub

Private Sub CommandButton18_Click()
If UserForm4.Visible = True Then
Unload UserForm4
End If
If ActiveCell.Row = 1 Then
MsgBox "Cannot Use This Row, Choose A Different One"
Exit Sub
End If
UserForm5.Show vbModal
End Sub
I won't post the form code here yet as both are quite large. Maybe someone has encountered this issue before?

View 9 Replies View Related

User Forms- Create A User Form That Will "pop Up"

Oct 25, 2007

I have a spreadsheet with the following headings:

A
Claims Number

B
Name

C
Scheme

D
Admin

E
Date

I need to create a user form that will "pop up" and ask the administrator to enter the above details.

A - should be created automatically (ie last claim number + 1)
B - user enters manually
C - data retrieved from a list
D - data retrieved from a list
E - date is the date the information is entered

View 9 Replies View Related

Transfer Control Values Between User Forms

Jan 9, 2007

I am using a calendar control 11 in a user form. I would like to create a combobox on a user form that when you click the drop down button it opens the calender then the user can select a date which is then returned to the combobox. I beleive the way to do this is to trap the dropbuttonclick event. Tho it dosent seem to work.

Private Sub ComboBox2_DropButtonClick()
Calender.Show
ComboBox2.Value = Calender.Calendar1.Value
End Sub

View 5 Replies View Related

Sharing Variables In Multiple User Forms

Mar 19, 2007

In VBA i have 3 userforms, the first 2 take the data and store them in variables. The 3rd form is supposed to take the variables from the other two forms and do some calculations with them. Although i cant get the 3rd form to take the stored variables from the other two forms. Is there a way to use stored values from other userforms?

View 3 Replies View Related

User Forms Saving Items Entered To Memory

Feb 16, 2010

Is there a way to save items into memory to be recalled in userforms.

Let's assume that I have a userform called UserForm1 and three textboxes named TextBox1, TextBox2 and TextBox3.

View 9 Replies View Related

User Forms Basics - Text Boxes To Named Range

Sep 24, 2009

User Form Basics - Populating Text Boxes. A few tweaks later and its reading the data just fine. Some of the specific form objects and range names have changed, but it's the same logic.

Anyway, this isn't just for display. I need to export the data back to the spreadsheet. So, I plugged this line into the event handler for the "Save & Exit" button on the sample form in the other thread:

View 2 Replies View Related

Validation Drop-down Lists

Oct 28, 2008

How to make a drop-down list appear when a cell is double-clicked as opposed to just clicking on the box to the right of the cell that appears when you click in the cell? I want to be able to use the ability to drag-copy the cell contents from the little square in the bottom-right of the cell, but cannot do this when there is a validation drop-down list!!

View 14 Replies View Related

Drop Down Lists To Reuse

Nov 23, 2008

why is it that if i use the drop down list to select something i then cannot go back the drop down list to select something else if ive made an error?
has it anything to do with vlookup?

View 3 Replies View Related

Drop Down Lists To Get Subcategories

Jun 3, 2009

As part of my project I have to create a data extraction excel sheet which is used as a template to extract relevant information from journal articles.

From each article I need to extract information on multiple psych. scales. For example, lets say Article 1 has information of ScaleA and Scale B so I would enter the means/sdev./... on each Scale from that article in respective columns. Article 2 might have info on Scale A and Scale C so I would enter them in respective columns.

As you see there are about 8-10 Scales with many subcategories (means,sdev,...), so my question is there a way to create a drop down menu such that all the scales (A-H) are in that menu and upon selection of a particular Scale the sub columns (with mean,sdev.,...) open beside/underneath it. I hope you understood my question.

View 12 Replies View Related

Dependent Drop Down Lists ...

Jul 6, 2009

I have been searching on this for a little while now but have not been able to find a solution to my problem. I have been asked to create a series of dependent dropdown lists using excel so that we can use these for inventory imports into a asset system. The catch on this is that nobody here really has any idea on how to make these dependent lists reference each other correctly. The reason for that is because the fields all have spaces in them and I do not know how to get a list name with a space in it or to create the proper translation for it. An example of this would be something like what I have written in below ....

View 13 Replies View Related

Averaging 2 Drop Down Lists Into A Value

Jul 15, 2009

I read this thread which helped me very much. So I was able to link one drop down box to a list, which fills in the adjacent box. Now I need some help getting an average.

Ex. Drop down 1 has a list of names which applies the associated numerical value in box 3. Drop down 2 has a list of the same names with the same associated values, and I need these 2 values averaged and put in box 3.

The problem is that Drop down 2 doesn't always have a name. It may be left blank and so I need drop down 1 to continue applying to box 3 when drop down 2 is empty.

This is what I have for drop down 1 to apply to box 3.

=IF(C2="","",VLOOKUP(C2,Sheet2!A3:B18,2,FALSE))

View 11 Replies View Related

IF Function And Drop-down Lists

Sep 23, 2009

I've got an IF statement that's based around what's chosen from a drop-down list. The problem is I'm using "" to stand for nothing being chosen in the cell in question, and this is returning an error message and highlighting the '""' (that looks confusing).

I've tried checking and unchecking 'ignore blanks' in data validation but nothing much has happened.

Here's an example of the formula I'm using:

=IF((AND(C40=A,D40="")),C9,(IF((OR(C40=A,D40=DA)),C9/2,"")))


The problematic "" is the first one.

View 7 Replies View Related

Drop Down Lists And Databases

Oct 30, 2009

I have a "form" type spread sheet that I have created where the user can enter different information (like name, company, addresses etc.). I have figured out how to create a drop down list. But what I would like to do is create on a seperate sheet a "data base" of information which will be "copied" into the appropriate cells on the first sheet depending on what the user selects from the drop down list.

The drop down list will list company names, which are stored on the second sheet. However, each company will have other data such as the company address (which will be entered in seperate cells with information like, box, street, town, province, country, code).

Now this is the clincher... The user must be able to add to the data list on sheet two and any new entry must automatically appear on the drop down list on sheet 1, and when selected it's "data" must be transferred to the appropriate cells on sheet one from sheet 2.

View 14 Replies View Related

Controlling Drop Down Lists

Dec 31, 2009

I would like to do something similar to wiL with an employee drop down list. As the user begins to type the name, the drop down would narrow the choices alphabetically or the user could select the drop down list then hit the first letter of the name and go to that letter of the list (i.e. selecting "M" to go to the portion of the list that starts with "M").

View 2 Replies View Related

Hyperlinks From Drop Down Lists

Apr 18, 2009

I'm tring a different way to use hyperlink to other workbooks on my network.

I'm using a dropdown validation box and a button. I want to select from the dropdown a link. Not sure if the validation box is the way I should do this, maybe a form dropdown.

Basicly, I would like to use the drop down select the link and press the button to GO! to link.

Is it something like

HTML Hyperlink.follow (A1.value)

View 10 Replies View Related

Passwords And Drop Down Lists

May 3, 2009

How would I write a marco that requires a password when a certain word in a drop down list is selected, bearing in mind that when this word is selected certain cells in the worksheet are no longer locked - in other words the certain cell can only changed by a specific person in the drop down list which when this person is selected a password is required.

View 14 Replies View Related

Reading From Drop Down Lists

Jan 11, 2010

I have a drop down list in my excel sheet that contains names of manufacturers. What i would like to do (using vba) is display some details of each manufacturer that will be copied from a different sheet.

So my question is, how can i read the string from the drop down list on one sheet and then copy a cell from another sheet.

View 8 Replies View Related

Drop Down Lists Lookup.

Sep 11, 2007

I have two columns B and C - In column B are the names of people. (12 names in this list) and in column C is a number from 1 - 4 (each person is in either team 1, 2, 3 or 4)

I have a drop down list in Column A which links to a small table (1 2 3 and 4) so the user can choose which team. I need a formula to then list the members of that team, when it has been selected.

I was using a Vlookup command, but this only works for the first person on the list, if i drag the formula down, it is still the same person. I need to show a list of all the members of that team.

View 9 Replies View Related

Returning A Value From Two Drop Down Lists?

Apr 20, 2009

I try and simplify a list of flights and their respective distances, so its easy for users to enter new flights into a database. Its not too much complication, but needs a formula i'm not sure which one though, either a pivot table or use of an OFFSET formula? Anyway a description of the attachment:

entries for all offices: title headers are self explanatory, with a drop down list at cell C42, referring to Destinations!G4:G88 (a range called airportlist)
cell D42 referrs also to the same range, airportlist. numbers of flghts: totals of how many flights are booked per office, i've got this one sorted. total flight distances: self explanatory.

destinations: a list of every flght the company takes, for each route of travel. also i've researched out the distance each journey covers. i've then compiled a list of each airport used, so i can make the drop down lists which are then used on the "entries to all offices" sheet. (this is the airportlist range).

on the "entries to all offices" sheet, i've made the sample drop down lists on cells C42 and D42, and what i'm hoping is that cell E42 displays the distance between the two cities displayed in C42 and D42.

so my magical formula needs to take the value in cell C42, then on sheet "destinations" needs to pair it to a row matching the value in cell D42, then take the resultant distance in that row and dump it in cell E42.

View 3 Replies View Related

Drop Down Lists Disappeared

Nov 23, 2006

I've created a sheet with a number of drop down lists using the validation menu.

Whilst working on the sheet the lists have disappeared! The validation options are still there and refer to the correct cells that have the correct details in them, but when I click in the cell that should have the list in it I don't get the down arrow to click that shows the list.

I've also tried creating a new list in another cell but that does the same.

Hopefully i've just changed a setting that stops it working and I can unchange it - but I don't know what's caused it.

View 9 Replies View Related

Linking Drop Down Lists Across Worksheets

Jan 20, 2009

Using Office 2003.

I have created two workbooks, one which is a master price list (MasterPriceList.xls) and another which is a pricing sheet template that will be used to calculate many different products (Pricing.xls)

I have used a VLOOKUP across the workbooks (thanks to those who helped me with that) but I cannot get a drop list to work across two worksheets. When I enter the source in the "refers to" box, I get a notice saying that you can't use data validation across two workbooks. However, this was the same error message I got when I was incorrectly inserting the reference source for the VLOOKUP function, so I don't believe it Also, there are several tutorials on the web that say this can be done. However, none of them seem to work for me.

I cannot open the Data Validation box and get to the other open worksheet, so I can highlight the area I want, with the range I want to drop down. Until I close the data validation box, I cannot get out of that sheet. I have used cell ranges as well as named ranges.

When I type in a name, I get only the text I entered in the source reference box appearing on the sheet, i.e., the drop down box will only show "=C:Documents And SettingsAllenMy Documents, etc" it doesn't seem to recognize it as a source.

View 10 Replies View Related







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