Hi!
I just started trying to teach myself Visual Basic and already I have encountered my first problem. I have the following script for a data validation dropdown:
With Range("b9:d9").Validation
.Add xlValidateList, xlValidAlertStop, xlBetween, "=AK3:AK6"
.InCellDropdown = True
End With
Now I want to fill the dropdown with values from cells on another sheet. My guess was that I could simply change the second line into
.Add xlValidateList, xlValidAlertStop, xlBetween, "=Sheet1!AK3:AK6"
but this doesn't work. I have tried numerous other formats as well, but without success. Any help would be much appreciated!