Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created December 7, 2014 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8bafe9377ccff305cbb3 to your computer and use it in GitHub Desktop.
Save anonymous/8bafe9377ccff305cbb3 to your computer and use it in GitHub Desktop.
' http://okwave.jp/qa/q8850455.html
With Selection.Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
xlBetween, Formula1:="x,e"
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.IMEMode = xlIMEModeNoControl
.ShowInput = True
.ShowError = True
End With
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment