I get a Run-time error='1004' Application Defined or object-defined error when using the following:
Cells(39,mastercol) is _COL11 which is a valid name and I have successfully performed a cell validation using this name.
I suspect (as per previous forum requests I have logged) it is linked to teh way I am selecting the column.
Any ideas, please?
Applications Support
UK
Code:
With Worksheets("Users to add to core").Columns(placedcol).Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="=" & Cells(39, mastercol)
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True
End With
Cells(39,mastercol) is _COL11 which is a valid name and I have successfully performed a cell validation using this name.
I suspect (as per previous forum requests I have logged) it is linked to teh way I am selecting the column.
Any ideas, please?
Applications Support
UK