Hi,
have you tried the
get external data function in Excel (i'm guessing this is probably what PH is referring to also). Uisng this functionality within excel your users can still maintain their data in Access using the selection forms but instead of exporting the data from Access into the workbook you refresh the data from within the workbook itself. Its v. easy to use...
These first 4 steps you would only have do once in the workbook or template, the users would not have to do...
1)in excel select Data>Get External Data>New Database Query
2)from the Choose Data Source dialog slect the Databases tab (default) and scroll down to
MS Access Database*.
3) Select your database and from the query wizard select your query/ table. You can change some sorting and criteria options then finish.
4) specify the top left cell of your table and your data will automatically be entered into the spreadsheet
From now on the query is built into the spreadsheet, there are loads of options you can play with - you'll notice that when you right click on the table you have some extra options (edit query, data range properties, refresh data) - refresh data does just that - gets the most up to date info from your db. If you select data range properties, under the section refresh control, you can set the table to refresh on file open.
So you can either check this option and the user doesnt have to worry about anything, each time they open the spreadsheet it will have this data in it - or you can show them how to refresh the data (or create a simple button) so that they can do it manually...
HTH, Jamie
FAQ219-2884
![[deejay] [deejay] [deejay]](/data/assets/smilies/deejay.gif)