Prevent Pick from Drop-down List Option in Excel - excel

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

Related

Excel VBA hide the form control buttons

I have created an "Expandable/Collapsible" structure using VBA. I have added some form controls, like a dropdown or option buttons in each of the section, but the issue is that, when the whole thing is collapsed, the form controls are visible in the button. please check the screenshot and advise a solution.
Yes that is because you have not selected Move and Size with cells.
That option is greyed out when you right click on the control and then click on Format Controls | Properties | Move and Size with cells for Option Button and Combo Box as shown below.
You need to use a different way to activate it.
Click the control and then click as shown below
And then from there you can set those properties.
Now those controls will hide when you collapse the rows.

SharePoint List can't unhide hidden column

I created a new list in sharepoint with 35 columns (Single line of text), then I added next additional 5 colums, but that 5 coulms automatically sets as hidden. I marked them as visible in Show/Hide colums menu, but when i refresh the page everything goes back to its previous state. I have no idea what to do to make them visible in my list.
After marking your columns as visible or hidden, you need to click on "Apply" on top of the menu. After this, click on "All Items"--> "Save as" and then choose a view. If you only have one view of your list, I would name it "All Items" as suggested. Click "Save" and your changes will be visible in your list.

VBA - MultiSelect in a DropDown

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.

How to Click on one Checkbox that clicks all Checkboxes VBA

I want to be able to Click on one Checkbox on Excel VBA that is able to Click on 5 other Checkbox's. My scenario is I want to create a table that shows 5 types of Data, what I want to accomplish is to create a Checkbox that clicks all of these other checkbox's, and therefore loads all data without the user having to check all 5 of these other Checkbox's. I want this checkbox to also be ticked if the user has ticked all 5 other options, and when the user has clicked then unclicked this Checkbox, for all the options to unselect itself. Hope someone can help?
inside the main check box click function add the oleobjects.object.value property
sub checkbox1_click()
activeworkbook.sheets(1).oleobjects("checkbox_2").object.value=true
end sub
you can add more check boxes in a similar way....so whenever the main check box (checkbox 1 ) is enabled all other checkboxes within the checkbox sub will also be enabled

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.

Resources