Run Time Error '2046'

M

Mary

Hello,

I'm getting a "run time error 2046 - The Command or Action 'OutPutTo' isn't
available now"... when I try to run a query off a form that outputs into
Excel. This has worked fine before and I'm not sure what could have changed.
I'm using the same code on a different form and have no problem. It doesn't
happen when I'm in design mode of the db, only when using it "live" as the
user would see it.

What could be going on?

Thanks,

Mary
 
R

Rob Oldfield

It may well be due to some kind of timing issue. Could you post the code
that you're using (i.e. the entire routine, not just the line that's going
bang).

It might also be useful if you also post the 'same' code that's working from
the other form.
 

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