Hi,
I have a problem when I try to import Excel worksheets. I would like to import more than one Excel file's different worksheets(/TABs) in time.(but I suppose it is impossible) So, I have to import those by TAB name.
Problem is that when I use TAB name like this:
DoCmd.TransferSpreadsheet acImport, 8, "Trial Code", "O:\RTD\LABRA\PM1\LABRA\" + Taulukko(R), False, "Massatiedot!"
I get this error message (too many fields defined). Because of that TAB name I use, I can't use "range". I would use range if I wouldn't have to use TAB name to specify sheet.
Is there any other way to deal with this problem?
Thanks in advance...and sorry about my english
Jari
I have a problem when I try to import Excel worksheets. I would like to import more than one Excel file's different worksheets(/TABs) in time.(but I suppose it is impossible) So, I have to import those by TAB name.
Problem is that when I use TAB name like this:
DoCmd.TransferSpreadsheet acImport, 8, "Trial Code", "O:\RTD\LABRA\PM1\LABRA\" + Taulukko(R), False, "Massatiedot!"
I get this error message (too many fields defined). Because of that TAB name I use, I can't use "range". I would use range if I wouldn't have to use TAB name to specify sheet.
Is there any other way to deal with this problem?
Thanks in advance...and sorry about my english
Jari