Excel Macro - How to add a dropdown menu to a cell aka Data Validation
A simple macro tutorial showing how to create a macro that will add a drop down menu to a cell of your choice with the variables you define.
Code :
Sheets("Sheet1").Range("B4").Select
With Selection.Validation
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, _
Formula1:="=Sheet2!$A$1:$A$5"
.IgnoreBlank = True
.InCellDropdown = True
End With
For some of the previous tutorials we have covered please visit the link below.
Insert row video;
http://www.youtube.com/watch?v=XBi_cU...
If this has helped you then please like and subscribe.
Thanks for watching
▶️ DTube
▶️ IPFS
Leave Excel Macro - How to add a dropdown menu to a cell aka Data Validation to:
Read more #validation posts
Best Posts From twoperscent
We have not curated any of twoperscent's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From twoperscent
- Dont buy Bitcoin to exchange for Altcoins%21 Avoid high transaction fees%21
- Excel Macro - How to add a dropdown menu to a cell aka Data Validation
- Creating a macro in Microsoft Excel that will insert a new row
- Enabling Macros in Excel
- A beginners guide to modifying Microsoft Excel Macros/VBA code for your own projects
- How to insert an Excel command button (Macros)
- A highly recommended conspiracy documentary
- Tutorial – How to Enable Excel Macros
- My experience with a cloud mining service, written 15 months after purchasing a contract.
- The Maths behind why I don’t buy Bitcoin to exchange for Altcoins
- Introduceyourself...Twoperscent