I need help with this.

A

Ayo

I keep getting "Application-defined or object-defined error." Any ideas,
please help.

With Range("B3").Validation
.Add Type:=xlValidateList, _
AlertStyle:=xlValidAlertStop, _
Operator:=xlBetween,
Formula1:="=OFFSET(MarketStart,MATCH(B20,Markets,0)-1,1,COUNTIF(Markets,B20),1)"
End With
 
B

Blue Max

Hello Ayo,

Not sure, but aren't you missing an underscore at the end of the fourth line
in order for it to be a continuation of the prior line. Perhaps, this is
generating the indicated error.

Good Luck,

Richard

*************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top