B
betwalk
Hello-
I have a user who does imports from Excel. Currently I have a button
that runs the following code:
DoCmd.TransferSpreadsheet acImport, 8, "tblImportedFromExcel",
"C:\FromExcel\DataFromExcel.xls", True, ""
It works quite well, but I'd prefer that my user not have to create the
folder "FromExcel" in the root of C. It would be much easier for him
to simply place the file on his desktop for this task.
I don't know how to write the path for that in the above statement.
Thanks in advance for any help on this!
I have a user who does imports from Excel. Currently I have a button
that runs the following code:
DoCmd.TransferSpreadsheet acImport, 8, "tblImportedFromExcel",
"C:\FromExcel\DataFromExcel.xls", True, ""
It works quite well, but I'd prefer that my user not have to create the
folder "FromExcel" in the root of C. It would be much easier for him
to simply place the file on his desktop for this task.
I don't know how to write the path for that in the above statement.
Thanks in advance for any help on this!