Can't change in-cell dropdown property of cell...

W

Wexler

I have a cell with data validation set to a static list of values.
When the user selects a different cell, I want to deactivate the list
cell (lock it and disable in-cell dropdown). I have 2 columns that I
do this for. I can disable one, but not the other.

Range("N8:N12").Validation.InCellDropdown = False ' works
Range("H8:H12").Validation.InCellDropdown = False ' application or
object defined error

There is no difference in column H and column N, so why won't column H
work???

Thanks for anyone's help.
 

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