> On my website (www.rogersaccesslibrary.com), is a small Access database
> sample called "ImportSpreadsheet.mdb" which illustrates how to do this. It
> does a little more than you want to do, but if you look at the code behind
> the forms, you can trace what is happening. You can find the sample here:
>
http://www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=339>
> --
> --Roger Carlson
> MS Access MVP
> Access Database Samples: www.rogersaccesslibrary.com
> Want answers to your Access questions in your Email?
> Free subscription:
>
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L>
>
> "Tony Williams" <TonyWilliams[ at ]discussions.microsoft.com> wrote in message
> news:E0D2E87E-4C97-49C5-8EAC-23A8CE8075E6[ at ]microsoft.com...
> > Once a day we recive an Excel spreadsheet that contains data for certain
> > (but
> > not all) the fields in one of the tables of a database. I know that it is
> > possible to import these using the wizard but I wondered whether there was
> > any way to automate the process. For example, ideally I would like a
> > command
> > button that I clicked which opened up the Windows Explorer Browse window,
> > allowed me to browse for the file and, when found, the data would be
> > automatically added to the table when, say, the Explorer window is closed.
> > I'm assuming that I would have to create an append query to add the data
> > although some (but again not all) of the data would be added to existing
> > records and some data could be new records. There will be a field in the
> > Excel data that matches a field in the table. I'm not too hot on VBA code
> > so
> > if that is the root an ABC description of the steps would be appreciated.
> > Many thanks
> > Tony
>
>
>