+ Reply to Thread
Results 1 to 2 of 2

VB code for validation?

  1. #1
    Registered User
    Join Date
    01-30-2005
    Posts
    4

    VB code for validation?

    does anybody know what the visual basic code is for validation?

  2. #2
    Forum Contributor
    Join Date
    04-30-2004
    Posts
    122
    Here's an example of validation from one of my VBA coded workbooks...

    With Selection.Validation
    .Delete
    .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
    xlBetween, Formula1:="=$M$4:$M$15"
    .IgnoreBlank = True
    .InCellDropdown = True
    .InputTitle = ""
    .ErrorTitle = ""
    .InputMessage = ""
    .ErrorMessage = ""
    .ShowInput = True
    .ShowError = True
    End With

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1