Update Excel with Access data

T

Tim

I'm trying to figure out the best way to frequently update
an Excel Worksheet with data from an Access Query. I can
use the transferspreadsheet method but the problem is that
if the spreadsheet is open, then the function fails. This
is a situation where someone needs to be able to update
the data in the Excel spreadsheet with the click of a
button in Access but there is a good possibility that
someone else will have that spreadsheet open at the time.
Can anyone offer any suggestions?
Thanks
 
J

John Nurick

Hi Tim,

I don't think there's a safe and reliable way of doing what you want
given Excel's very limited multi-user capability. Much better IMHO to
set up the spreadsheet so it fetches the latest data for itself whenever
as often as needed.
 
O

onedaywhen

Tim said:
I'm trying to figure out the best way to frequently update
an Excel Worksheet with data but there is a good possibility that
someone else will have that spreadsheet open at the time.

What do you want to happen in this scenario? You have some choices
including:

- Immediately force the Excel workbook to close, with or without
saving it in its current state.

- Wait for the user to save the workbook then force the workbook to
close.

- Wait for the workbook to be closed.

What do *you* want to do?

--
 

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