Graham hi thanks for replying.
Excel 2003 SP3
Access 2003 SP3
acimport
the ip Address is just held in various cells which are formated as general
in excel
it is not an ip specific coloumn
code is
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D3
5"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D7
8"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D10
11"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D13
21"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D23
28"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D30
30"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D32
34"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!D36
38"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTemp",
strFile, No, "Settings!C1:C1"
Graham Mandeno said:
Hi Arnie
I have just tried to reproduce your problem and IP addresses import
perfectly as text. Can you please give us some more information:
What versions of Access and Excel?
What else is in the spreadsheet?
Specifically, is there numeric data in the first few rows of the IP
address column?
Are you using acImport or acLink?
--
Thanks
Graham Mandeno [Access MVP]
Auckland, New Zealand
Arnie said:
Hi folks i am trying to use transferspreadsheet and in some of the cells
are
IP address but when i attempt this i get an error message saying a problem
has occured and that either it is due to data type or validation rules.
MyTable is set to text and there are no validation rules applied.
ta in advance