Thanks , that seems to work , I am getting the value in the variable.
I am now getting an error in my vlookup when I use val instead of 33?
Any ideas?
Thanks again

Signature
KWB
> We are talking about in a macro, right? If I understand your question
> correctly...
[quoted text clipped - 15 lines]
> >
> > Thanks
Rick Rothstein (MVP - VB) - 22 Dec 2007 04:36 GMT
Sorry, I followed your lead and used the variable name you proposed in your
posting without paying attention to it. Val is a reserved key word in VBA
(there is a function by that name), so you can't use it as a variable name.
Just pick a different name and you should be okay.
Rick
> Thanks , that seems to work , I am getting the value in the variable.
>
[quoted text clipped - 22 lines]
>> >
>> > Thanks