Hi
It is related to the way you have your if / end if blocks positioned.
What I did was actually indent your code logically and from this I found that you have
but you don't have an else for that test. All the following if / end if and with statements are all related to that block, so it is not doing any testing for the 'CLR' option when you do the selection.
I've put in an else statement that will cover of the selection of the 'CLR' option to just show a messagebox of the target.value
See if that gets you going.
rylo
Bookmarks