Excel doesn't open up when double-clicking the file in Explorer

M

Ming

When double-clicking an excel file in Window Explorer, Excel normally opens
up the file automatically. This is working fine on my PC usually. However, if
I have an Excel process running in background (generating reports in silent
mode), double-clicking the file doesn't work. Sometimes (very rare) it comes
up, but mostly you see nothing.

If I open up Excel application first, then use its menu to open the file,
then there is no problem.

I found similar complains on the Internet, but most of them happen under
"normal" conditions. On my machine, it works fine under "normal" conditions.

Any idea?
 
J

JP

It's probably because Excel is running (I assume VBA) in the
background.

Try adding a DoEvents Function call to your code, to give control back
to the OS temporarily.

--JP
 
S

Simon Murphy

Ming
Maybe your code has set Excel to ignore remote requests, which is
probably reasonable if you have a process running.

Cheers
Simon
Excel development website: www.codematic.net
 

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