How to copy a dropdown menu (data validation) to entire column in Excel (only rows that having something else too). And, in this case, how to leave row for the header?
相关问题
- Excel sunburst chart: Some labels missing
- dropdown <select> for list.js
- Error handling only works once
- Excel formula in VBA code
- There is no ViewData item with the key 'taskTy
相关文章
- Get column data by Column name and sheet name
- programmatically excel cells to be auto fit width
- Unregister a XLL in Excel (VBA)
- Django: Replacement for the default ManyToMany Wid
- How to prevent excel from truncating numbers in a
- ASP.Net MVC 3: optgroup support in Html.DropDownLi
- numeric up down control in vba
- Declare a Range relative to the Active Cell with V
Click on "Data Validation" from the Data tab
Choose "List" from the "Allow" box
Click on the arrow to the right of the "Source" box and select the cells containing the allowed values
And you are good to go!
More on that here.
To copy and paste only the dropdown list (validation), and only to not empty cells, do the following:
Select every possible cell (including empty ones) where you want to have the dropdown menu pasted.
Hit F5, then Special..., finally Constants radio button and OK. This will select only cells which are not empty from your previous selection.
Home > Paste > Paste Special...
Validation radio button and lastly OK.
Let me know if it helps!
Ok, I found the answer and now it's working: