Query excel temproary file from Access

R

Robert

I' need to develop an Access app that is able to query a temporary XL file
from within Access (without saving the XL file). The user has one of
several HTML links to CSV/XLS files that they can choose from within their
web browser. The Access application knows the name of the files these links
create, but not the temporary folder that Excel is currently using to store
these files.

Does anyone know of a way to get this environment variable from Excel via
Access?

Thank you.
 
P

PieterLinden via AccessMonster.com

Robert said:
I' need to develop an Access app that is able to query a temporary XL file
from within Access (without saving the XL file). The user has one of
several HTML links to CSV/XLS files that they can choose from within their
web browser. The Access application knows the name of the files these links
create, but not the temporary folder that Excel is currently using to store
these files.

Does anyone know of a way to get this environment variable from Excel via
Access?

Thank you.

You can't link to an Excel file that hasnt been saved, AFAIK. You could
write it to a folder somewhere and then delete it after querying by using the
KILL statement in VBA.
 

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