Macro for Import of data

C

CB100

Good morning, I have a macro to import a table from Excel and would like
expand that macro to import the same sales table into 2 tables. One table is
just for the regular import, all data, and one is to have the primary key
set to the customer number so that only one entry comes in for that customer.
I am sure there is an easier way but don't know enough about macros and vba
to accomplish this.
Thank you
 
C

Clifford Bass

Hi,

How about just repeating the same step(s), only into the second table?
Or create an append query that gets its information from the first table and
appends it to the second? If you use the second option, you will need to
figure out how to identify the row you want to place into the second table.

Clifford Bass
 

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