T
tony
Hi,
I'm a bit stuck with the above, I can use the Modify method to change
the data validation criteria for a given range as in the code below:
With Selection.Validation
.Modify Type:=xlValidateList, AlertStyle:=xlValidAlertStop,
Operator _
:=xlBetween, Formula1:="=$S$3:$S$4"
.ErrorTitle = "Invalid Entry"
.ErrorMessage = "Enter Yes or No."
End With
However try as I might I cannot change the the actual title and
message displayed when the cell is entered. I need to keep the
validation criteria exactly as set and I think this is where I'm
coming unstuck. I have tried the following code but this just gives me
an error.
With Selection.Validation
.Modify
.InputTitle = myTitle
.InputMessage = myMessage
End With
Any help gratefully received.
Thanks
I'm a bit stuck with the above, I can use the Modify method to change
the data validation criteria for a given range as in the code below:
With Selection.Validation
.Modify Type:=xlValidateList, AlertStyle:=xlValidAlertStop,
Operator _
:=xlBetween, Formula1:="=$S$3:$S$4"
.ErrorTitle = "Invalid Entry"
.ErrorMessage = "Enter Yes or No."
End With
However try as I might I cannot change the the actual title and
message displayed when the cell is entered. I need to keep the
validation criteria exactly as set and I think this is where I'm
coming unstuck. I have tried the following code but this just gives me
an error.
With Selection.Validation
.Modify
.InputTitle = myTitle
.InputMessage = myMessage
End With
Any help gratefully received.
Thanks