N
nathan_savidge
Hi
I have a module that imports data from a spreadsheet, a row at a time. The
import needs to be done like this, i wont go into why.
I have a function, which modifies dates, called UK_DATE(dtDate as date) this
is called in the part of the mod that build the sql, i.e.
SQL = "INSERT INTO..............UK_Date(xl.range("B" & colcount))......."
I get errors when the dates are incorrect, i.e. 1/1/2/07 instead of 1/12/07.
I have an error trap in the import function, but it does not detect errors
when they are in the UK_Date function. Can you advise as the error trap
needs to note in a text file the name of the sheet and the row it failed on.
Thanks
I have a module that imports data from a spreadsheet, a row at a time. The
import needs to be done like this, i wont go into why.
I have a function, which modifies dates, called UK_DATE(dtDate as date) this
is called in the part of the mod that build the sql, i.e.
SQL = "INSERT INTO..............UK_Date(xl.range("B" & colcount))......."
I get errors when the dates are incorrect, i.e. 1/1/2/07 instead of 1/12/07.
I have an error trap in the import function, but it does not detect errors
when they are in the UK_Date function. Can you advise as the error trap
needs to note in a text file the name of the sheet and the row it failed on.
Thanks