Type in a data validation cell - excel

I am using data validation to offer a list of choice for each cell in a column. Is there a way to make it possible to type in each cell, rather than have to select from the drop down list?
The drop down list is quite long so would like to search it.

The default setting when a data validation dropdown list is created is to allow the user to type in the cell as well. Is this an active-x control dropdown or just a dropdown in the cells?
If it is just in the cells, then select the cell, go to Data-> Data Validation -> Validation -> then unselect the checkbox that says select from drop-down list.
If it is a VBA control, it would have to be replaced with an inputbox both in the sheet and in the code.

Related

How to create a dropdown clickable checklist that fills an Excell cell?

I have a single cell A2 that needs to be filled with a string that's one or more items from a given list with 20 items. We have to manually input these values in alphabetic order separated by ";".
Is there a way that we can have a dropdown list on cell A2, that we could pick these values from a checklist, and by clicking on them, they would get inserted?
If so, how can I have this and use it for several rows (A2-A366) where each row is a different data entry for another day but with the same logic?
Create a Drop-down List
To create a drop-down list in Excel, execute the following steps.
1. On the second sheet, type the items you want to appear in the drop-down list.
Note: if you don't want users to access the items on Sheet2, you can hide Sheet2. To achieve this, right click on the sheet tab of Sheet2 and click on Hide.
2. On the first sheet, select cell B1.
3. On the Data tab, in the Data Tools group, click Data Validation.
The 'Data Validation' dialog box appears.
4. In the Allow box, click List.
5. Click in the Source box and select the range A1:A3 on Sheet2.
6. Click OK.
Result:

protect data validation list content in protected excel speadsheet

I have a excel spreadsheet which I want to protect. There is a data validation list that use INDIRECT formula to display values from a table. I want the user to be able to select values from that list, but I don't want the user to be able to remove the text displayed in the cell. Can that be done without VBA?
Yes. If i understand you correctly you ensure that you have unchecked the locked box for the cells containing the data validation. Right click format cells -> protection -> uncheck box Locked. And when setting up your data validation ensure you uncheck the Ignore blank box. Then when sheet is protected user can only select from drop down list. They can't delete what is in the cell.

Multi option custom MsgBox popup window

I am not sure if this is even doable in Macro (VBA). The issue is, if a user enter a value in specific cell (lets say A2). I need to trigger a popup window (similar to MsgBox function) with several option for the user to select in the popup (either a drop down list or Radio buttons). The values in the drop down list or Radio buttons can be populated in the code. I need to let the user select the option "value" from the list and then can click OK or Cancel. The value that the user selected would be display in the same cell. I checked online and it seems like there are very small selections for the MsgBox function. Can this be done??
Thanks,
Your best option would be to use Data Validation to make a drop-down list.
If you go to Data-Data Validation-Allow-List you can create a drop-down list of all values you want. Store all of the values you want in the drop-down list on another sheet and just set it as the Source.
Any other issues let me know.

VBA dropdown selection

Hi i have a worksheet contain six columns, instead of use the Filter function from excel, I would like to create a dropdown menu that allows me to select the information from column A (strings) and then select information from colomn F (also string), how can I create that dropdown from VBA?
Thanks,
Your question isn't fully clear to me in terms of what sort of functionality you want this drop-down menu to have, but you would be best off to investigate the following:
A) Developer Tab > Insert > List Box
You can specify a data range for this drop-down menu and link it to a cell which updates its value based on the drop-down list selection.
B) Data Tab > Data Validation > Allow: List
This allows you to select a list of data that you want to have appear in a particular cell.
Perhaps these would be useful for what you are looking to accomplish.

excel combo box populate

In my excel sheet1 i have 2 combo box...
When i open the excel the 2 combox has to fill
if i select one value in one combo box the corressponding should populate in the second combo box
if they're populating from the same source data, it's easy - you can insert them as "Forms" ComboBoxes (not ActiveX ones) and on the properties set the "cell link" value to be the same cell. That way when the selected index of one changes, the other will change too.
If they're populating from different lists, it's a bit harder. You'll have to determine that one is the master and then inside the "Cell Link" cell for the "slave" ComboBox, you'll have to do a MATCH() into the lookup data for the second with an INDEX() into the lookup table for the first to determine what its value is. Will provide a bit more info if required.

Resources