ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Method Add of object Validation Failed - please help (https://www.excelbanter.com/excel-worksheet-functions/236446-method-add-object-validation-failed-please-help.html)

Shokie

Method Add of object Validation Failed - please help
 
I am getting error on the add method on validation -

Method Add of object Validation Failed - please help

Me.Unprotect
With Sheet1.Cells(1, 1).Validation
.Delete
.Add xlValidateList, xlValidAlertWarning, , Lst <<<< Error
here!!!!!
.ErrorMessage = "Please select an Employee from the list"
.ErrorTitle = "Select Employee"
End With

Dave Peterson

Method Add of object Validation Failed - please help
 
You have a response at your other post.

Shokie wrote:

I am getting error on the add method on validation -

Method Add of object Validation Failed - please help

Me.Unprotect
With Sheet1.Cells(1, 1).Validation
.Delete
.Add xlValidateList, xlValidAlertWarning, , Lst <<<< Error
here!!!!!
.ErrorMessage = "Please select an Employee from the list"
.ErrorTitle = "Select Employee"
End With


--

Dave Peterson


All times are GMT +1. The time now is 05:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com