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.
Related
Short question:
Is there any way to tell which item is highlighted in a Data Validation cell drop down?
Details:
I'm trying to make a tooltip (using a form that follows the mouse when that cell is moused over; will have to change this to cover the dropdown area as well) that gives more information based on the current selection.
I want to do this for the current highlighted item in the list, so that the user can get more info without having to select the item then start over if it's not the one they want.
I also am trying to avoid using the Form Controls & ActiveX Controls. That's more by request from the person in charge than my decision.
It's as simple as this. Say I want to color "COPT" and "RAT GCU" Yellow can I color just those?
I tried conditional formatting tricks and they all work after the drop down item is selected.
I want the colors to be loaded only to certain list items to appear as soon as I click the drop-down arrow.
I'm not sure if this can be done but...
Additionally would anyone know the syntax to click a button to set the value of the list back to displaying "Please select"???? I already have a reset button that unfilters everything. So if I tie it to that button I think it'd work like a charm. I just don't know how to go about selecting the listbox as it's a data validation one and I can't seem to figure out how to define/declare the listbox and can't find it's name anywhere.
There is no way to color items in the DV list. If you want the cell to show "Please Select" when no choice was made, all you can do is enter that literal text into the cell. An empty cell will remain empty.
I have a Requirement Where a bundle of Items needs to be displayed in the Drop-Down List. The Problem for me is, because there are so many Items inside it, I need to Use Combobox over List-Box. The Reason for that is, if I know the name of the item, I can type in the search box of the drop-down and get my Item, Combo-Box allows you to do that. But the List Box doesn't allow the User Input.
Now, Because there are some which names cannot be remembered, I need to use the Scroll bar in the drop-down to pick up the time. This is hectic, to select a single Item. I would like to have the facility of Using a Multi-select in this case.
So the Requirements are below:
1) A Drop-Down that allows the user to type in part of the Input(Say Ref for Refreigerator)
2) A Drop-Down that allows the Multi-select.
Obviously, I don't want to have two drop-downs Splitting the data.
I am open to other Suggestions.
Please Share your thoughts.
I have a form on Sharepoint, whereby I have 2 drop-down controls.
Lets say the first one has values "A, B and C" to choose from.
According to the option selected in the 1st drop-down, I will have to populate the 2nd drop-down accordingly.
Is there a way to do that in Sharepoint Designer or Infopath?
The dropdown are both created similarly;
Or if I can at least filter the 2nd drop down, according to the value chosen in the 1st drop down.
I am newbie in Sharepoint dev, and need some tips on the above.
if I've understood you correctly, what you are trying to do is populate the 2nd dropdown list based on what is selected from the first.
Have you tried to put a filter on the 2nd drop-down, like this...?
Open up your list form in InfoPath
Right click on the 2nd choice field and select, 'Drop-down List Box Properties'
Click on the button to the right of 'Entries'
Click on 'Filter Data' button
Click on 'Add'
Enter the condition (i.e. 'Choice' is equal to 'Choice', or whatever the name of your 1st choice field is.)
Does that work? (I'm assuming you aren't using a secondary data source.)
I have created a form that to be used by my company's employees. One employee noticed that when right clicking on a cell, there is a "Pick From Drop-down List..." option in the menu. When using that option it will sometimes show some seemingly random options from elsewhere on the spreadsheet.
How can I prevent that option from appearing in the right click menu? Thanks!
Make that given option not visible with:
With Application.CommandBars("Cell")
.Controls("Pick from drop-down list...").Visible = False
End With