When transfering data in from excel is there a way to refer to a specific
sheet and not a specific range. The excel file I want to import from has
several worksheets and I do not want to have the user set a named range as
the range changes. I just want to be able to say the file name and worksheet
name.
The stCombine below is the file path with subdirectories.
DoCmd.TransferSpreadsheet acImport, 8, "Ssaintv", stCombine, True, ""
Thank you for any information...
Klatuu - 31 Oct 2005 19:01 GMT
The Range argument can refer to a sheet. Put the sheet name you want to
import where I have "SheetName"
DoCmd.TransferSpreadsheet acImport, 8, "Ssaintv", stCombine, True,
"SheetName"
> When transfering data in from excel is there a way to refer to a specific
> sheet and not a specific range. The excel file I want to import from has
[quoted text clipped - 7 lines]
>
> Thank you for any information...