Conditional select range

D

Dave Peterson

I would try stepping through the code.

Get everything set up the way you need--maybe on a smaller set of data that
fails.

Then go to the VBE and put your cursor somewhere inside that procedure and hit
F8.

F8 will step through each line of code. So you can see how the code gets run.

You'll want to look closely at this portion (if this is the final code):

Maybe the value v isn't numeric???

=======
ps. There is no such thing as Final code <vbg>.
 

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