Get external data (1 Viewer)

sandhurstUK

Must change my user name
Local time
Today, 20:05
Joined
Feb 15, 2002
Messages
42
Is is possible to create a macro which runs the Get External Data function.
What I want to do is create a macro which runs off a command button which does the following:

Deletes the contents of a table
Opens Excel (to a specific file location) Imports the data into the existing table
Runs a make table qry (already there and converts mutiple entries into recordsets).

I am not sure whether this is possible and would appreciate any help going.
Thanks
 

Rich_Lovina

Registered User.
Local time
Tomorrow, 05:05
Joined
Feb 27, 2002
Messages
225
Look at yr options under the TransferDatabase command in Macro Design view. You can do it all there. Read yr F1 helps along the way.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 15:05
Joined
Feb 19, 2002
Messages
43,484
Use the TransferSpreadsheet Method to do this in one step.
 

Users who are viewing this thread

Top Bottom