Export and import from Excel- where did the data go

P

P Nahser

I am a beginner- please help.
I have an export command (see below) that saves "gxt cardiolite table" in
"my documents as an excel file.
DoCmd.OutputTo acTable, "GXT Cardiolite table",
"MicrosoftExcelBiff8(*.xls)", "", False, "", 0
(I made a macro and let Access convert it to code for me)

I have a different style import command (see below) that I thought was
importing that same file back into access. It is getting a different version
of "gxt cardiolite table" that I must have exported in the past - but not the
one I can find in "my docs"

DoCmd.TransferSpreadsheet acImport, 5, "gxt cardiolite table", "gxt
cardiolite table", True, ""
Is there a better way to do this?
thanks. PN
 

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