View Single Post
  #1   Report Post  
Posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.excel.programming
Patonar Patonar is offline
external usenet poster
 
Posts: 1
Default Excel - Access Table

Hi,

I would like to be able to using VBA from an Excel macro - go through
each line in my spreadsheet and add to a database.

I know that this can be done via the import external data tool in
access but the final solution i am working towards will allow the user
to select columns from randomly formatted datasets in excel.

I already have code that loops through every row in my excel file to
format it correctly so it isn't the loop i am worried about. It is the
actual insert code from vba i need to use.

Preferably without using a DSN connection if possible and instead
naming the direct route to the database - since this is going to be
stored over the network.

Regards,

Andy