K
Kevin Wickersheim
I have been using the following Docmd in access 97.
DoCmd.TransferSpreadsheet acImport, ,
strTableName, "c:\data\resources\" & strFileName, ,
strTabName
The variables are strings that look something like this.
strFileName = "exclefilename.xls"
strTabname = "'Sheetname'!"
I am trying to convert the DB to 2002 and I am getting an
error
Runtime error '3125':
''Sheetname'$' is not a valid name. Make sure that is
does not include invalid characters or punctuation and
that it is not too long.
I have tried taking out the inner ' and ! with no luck.
any ideas?
DoCmd.TransferSpreadsheet acImport, ,
strTableName, "c:\data\resources\" & strFileName, ,
strTabName
The variables are strings that look something like this.
strFileName = "exclefilename.xls"
strTabname = "'Sheetname'!"
I am trying to convert the DB to 2002 and I am getting an
error
Runtime error '3125':
''Sheetname'$' is not a valid name. Make sure that is
does not include invalid characters or punctuation and
that it is not too long.
I have tried taking out the inner ' and ! with no luck.
any ideas?